Revert 107944 - Avoid all unnecessary calls to TLS during thread teardown
Revert 107944 - Avoid all unnecessary calls to TLS during thread teardown

Mac base_unittests is still flaky....

Pthread is still sometimes crashing Mac on shutdown.

I'm suspicious that my handlers are tickling it.
This removes a DCHECK(), which checked status in
TLS during the teardown.

TBR=rtenneti
Review URL: http://codereview.chromium.org/8424013

TBR=jar@chromium.org
Review URL: http://codereview.chromium.org/8431003

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

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