Another attempt to fix the pure virtual function call crash in chrome frame tests. This crash happens because the timed message loop object attempts to destroy pending tasks, which point to a deleted CComObjectStackEx instance in its destructor. 
Another attempt to fix the pure virtual function call crash in chrome frame tests. This crash happens because the timed message loop object attempts
to destroy pending tasks, which point to a deleted CComObjectStackEx instance in its destructor. 

Fix is to ensure that the CComObjectStackEx instance which holds chrome frame mocks outlives the message loop.

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

Bug=41980
TBR=stoyan

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

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

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