Revert 58558 - [Mac] Move the reset of signal handlers to be very soon after the fork, before we do any mach IPC.
Revert 58558 - [Mac] Move the reset of signal handlers to be very soon after the fork, before we do any mach IPC.

The MachPortSender constructor can sometimes hang forever (gets stuck in bootstrap_look_up()), so it is important to reset the child's signal handlers as early as possible.

Nico would like me to mention that this was his idea.

BUG=35374
TEST=If in the forever backwards spinner state, closing the tab should not quit the browser.
TEST=In general, renderers and extensions and plugins should still work.
Review URL: http://codereview.chromium.org/3302009

TBR=rohitrao@chromium.org
Review URL: http://codereview.chromium.org/3322013

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

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