Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg

--HG--
extra : rebase_source : 32fa9c79f1620226e59459609e9c4390a511e5ad
This commit is contained in:
Josh Matthews 2011-06-29 15:29:27 -04:00
parent 953b4316f4
commit bce6638c05
2 changed files with 4 additions and 4 deletions

View File

@ -1886,7 +1886,7 @@ SetRemoteExceptionHandler(const nsACString& crashPipe)
gExceptionHandler = new google_breakpad::
ExceptionHandler(L"",
NULL, // no filter callback
FPEFilter,
NULL, // no minidump callback
NULL, // no callback context
google_breakpad::ExceptionHandler::HANDLER_ALL,

View File

@ -359,7 +359,9 @@ XRE_InitChildProcess(int aArgc,
return 1;
}
#endif
SetupErrorHandling(aArgv[0]);
#if defined(MOZ_CRASHREPORTER)
if (aArgc < 1)
return 1;
@ -386,8 +388,6 @@ XRE_InitChildProcess(int aArgc,
gArgv = aArgv;
gArgc = aArgc;
SetupErrorHandling(aArgv[0]);
#if defined(MOZ_WIDGET_GTK2)
g_thread_init(NULL);
#endif