| Index: chrome/app/breakpad_win.cc
|
| diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc
|
| index 6c0cdf7a40eeb3c8893ebf5a01f16d158e8ba806..10bd4020168e5dc5ebdbbc4d0ec94d24c1149a1b 100644
|
| --- a/chrome/app/breakpad_win.cc
|
| +++ b/chrome/app/breakpad_win.cc
|
| @@ -544,7 +544,8 @@ bool WrapMessageBoxWithSEH(const wchar_t* text, const wchar_t* caption,
|
| *exit_now = (IDOK != ::MessageBoxW(NULL, text, caption, flags));
|
| } __except(EXCEPTION_EXECUTE_HANDLER) {
|
| // Its not safe to continue executing, exit silently here.
|
| - ::ExitProcess(chrome::RESULT_CODE_RESPAWN_FAILED);
|
| + ::TerminateProcess(::GetCurrentProcess(),
|
| + chrome::RESULT_CODE_RESPAWN_FAILED);
|
| }
|
|
|
| return true;
|
| @@ -594,7 +595,7 @@ extern "C" int __declspec(dllexport) CrashForException(
|
| EXCEPTION_POINTERS* info) {
|
| if (g_breakpad) {
|
| g_breakpad->WriteMinidumpForException(info);
|
| - ::ExitProcess(content::RESULT_CODE_KILLED);
|
| + ::TerminateProcess(::GetCurrentProcess(), content::RESULT_CODE_KILLED);
|
| }
|
| return EXCEPTION_CONTINUE_SEARCH;
|
| }
|
|
|