The Firefox3XImporter test was incorrectly deleting a ref counted object causing an ASSERT to fire resulting in this test to randomly fail on the Vista dbg builder.
The Firefox3XImporter test was incorrectly deleting a ref counted object causing an ASSERT to fire
resulting in this test to randomly fail on the Vista dbg builder.

Fix is to get rid of the delete and wrap the allocated Firefox3Observer object in a scoped_refptr.

This fixes http://code.google.com/p/chromium/issues/detail?id=22884

Bug=22884

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

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

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