When asserting that an event object is not signaled, pass important values (the return value of WaitForSingleObject and the error code) as function arguments so that they are available in crash dumps.
When asserting that an event object is not signaled,
pass important values (the return value of WaitForSingleObject
and the error code) as function arguments so that they are
available in crash dumps.

R=eroman
BUG=51950,52008
TEST=none
Review URL: http://codereview.chromium.org/3107032

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

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