Don't attempt to destroy the stream in the NPP_URLNotify notification in the default plugin. NPP_URLNotify is always called after the stream has already been destroyed by the browser. This can lead to crashes especially when the plugin instance is being torn down, which in turn closes open streams.
Don't attempt to destroy the stream in the NPP_URLNotify notification in the default plugin. NPP_URLNotify
is always called after the stream has already been destroyed by the browser. This can lead to crashes especially
when the plugin instance is being torn down, which in turn closes open streams.

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

Bug=11308

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

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

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