Fix a chrome browser crash which occurs when displaying the page info bubble in a ChromeFrame page. The crash occurs while dereferencing a NULL NonClientView member in the widget code. This member is only instantiated if the widget is of type InitParams::TYPE_WINDOW.
Fix a chrome browser crash which occurs when displaying the page info bubble in a ChromeFrame page.
The crash occurs while dereferencing a NULL NonClientView member in the widget code. This member
is only instantiated if the widget is of type InitParams::TYPE_WINDOW.

ChromeFrame always instantiates as a popup window and hence this member is always NULL.

Fix is to add a NULL check at the relevant places in the widget code.

Fixes bug http://code.google.com/p/chromium/issues/detail?id=88960

BUG=88960
Review URL: http://codereview.chromium.org/7301028

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

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