Fix browser crash in extensions due to painting badges on PageActions.
Fix browser crash in extensions due to painting badges on PageActions.

It is possible this will move the crash location elsewhere, but since we don't even support showing badges on PageActions, we have no reason to attempt it.

BUG=http://crbug.com/31080
TEST=Monitor the crash rate and see if the crash is fixed. Badges should still work on BrowserActions.

Review URL: http://codereview.chromium.org/551105

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@36807 0039d316-1c4b-4281-b951-d872f2087c98

krieger-od/nwjs_chromium.src,dednal/chromium.src,dushu1203/chromium.src,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,ltilve/chromium,hujiajie/pa-chromium,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,dushu1203/chromium.src,nacl-webkit/chrome_deps,robclark/chromium,jaruba/chromium.src,markYoungH/chromium.src,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,dednal/chromium.src,anirudhSK/chromium,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,dushu1203/chromium.src,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,robclark/chromium,robclark/chromium,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,keishi/chromium,hgl888/chromium-crosswalk,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,keishi/chromium,markYoungH/chromium.src,nacl-webkit/chrome_deps,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,anirudhSK/chromium,littlstar/chromium.src,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,rogerwang/chromium,anirudhSK/chromium,rogerwang/chromium,littlstar/chromium.src,dednal/chromium.src,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,Chilledheart/chromium,Fireblend/chromium-crosswalk,dushu1203/chromium.src,keishi/chromium,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,M4sse/chromium.src,ChromiumWebApps/chromium,M4sse/chromium.src,hujiajie/pa-chromium,nacl-webkit/chrome_deps,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,ltilve/chromium,Pluto-tv/chromium-crosswalk,dednal/chromium.src,Jonekee/chromium.src,mogoweb/chromium-crosswalk,M4sse/chromium.src,jaruba/chromium.src,Jonekee/chromium.src,keishi/chromium,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,markYoungH/chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,keishi/chromium,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,robclark/chromium,robclark/chromium,Chilledheart/chromium,zcbenz/cefode-chromium,ChromiumWebApps/chromium,Chilledheart/chromium,littlstar/chromium.src,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,rogerwang/chromium,rogerwang/chromium,patrickm/chromium.src,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,fujunwei/chromium-crosswalk,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,keishi/chromium,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,ondra-novak/chromium.src,robclark/chromium,Just-D/chromium-1,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,bright-sparks/chromium-spacewalk,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,keishi/chromium,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,keishi/chromium,hujiajie/pa-chromium,ltilve/chromium,M4sse/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,anirudhSK/chromium,robclark/chromium,M4sse/chromium.src,markYoungH/chromium.src,markYoungH/chromium.src,axinging/chromium-crosswalk,ondra-novak/chromium.src,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,dednal/chromium.src,patrickm/chromium.src,anirudhSK/chromium,Jonekee/chromium.src,ltilve/chromium,axinging/chromium-crosswalk,rogerwang/chromium,anirudhSK/chromium,nacl-webkit/chrome_deps,jaruba/chromium.src,patrickm/chromium.src,axinging/chromium-crosswalk,ChromiumWebApps/chromium,anirudhSK/chromium,chuan9/chromium-crosswalk,robclark/chromium,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,ltilve/chromium,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,dednal/chromium.src,Just-D/chromium-1,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,patrickm/chromium.src,krieger-od/nwjs_chromium.src,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,dushu1203/chromium.src,markYoungH/chromium.src,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,littlstar/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,rogerwang/chromium,ltilve/chromium,dednal/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Jonekee/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,anirudhSK/chromium,M4sse/chromium.src,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk,markYoungH/chromium.src,mogoweb/chromium-crosswalk,axinging/chromium-crosswalk,rogerwang/chromium,bright-sparks/chromium-spacewalk,Just-D/chromium-1,ltilve/chromium,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,rogerwang/chromium,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,crosswalk-project/chromium-crosswalk-efl,Just-D/chromium-1,ChromiumWebApps/chromium,hujiajie/pa-chromium,ltilve/chromium,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,patrickm/chromium.src,mogoweb/chromium-crosswalk,M4sse/chromium.src,hujiajie/pa-chromium,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,M4sse/chromium.src,ondra-novak/chromium.src,hujiajie/pa-chromium,jaruba/chromium.src,fujunwei/chromium-crosswalk,robclark/chromium,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,patrickm/chromium.src,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,keishi/chromium,hgl888/chromium-crosswalk,bright-sparks/chromium-spacewalk,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,dushu1203/chromium.src,ChromiumWebApps/chromium,rogerwang/chromium,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,Chilledheart/chromium,patrickm/chromium.src,Chilledheart/chromium,dushu1203/chromium.src,ChromiumWebApps/chromium,Jonekee/chromium.src,ondra-novak/chromium.src,keishi/chromium,hgl888/chromium-crosswalk,hujiajie/pa-chromium,dednal/chromium.src,Chilledheart/chromium,robclark/chromium,krieger-od/nwjs_chromium.src,dednal/chromium.src,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,littlstar/chromium.src,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,keishi/chromium,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,ltilve/chromium,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,timopulkkinen/BubbleFish,anirudhSK/chromium