Index: third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
diff --git a/third_party/crashpad/crashpad/util/win/exception_handler_server.cc b/third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
index fdc159c0bf98c6c85790136db18bbc8e317f4aaa..6642665c690a6a8ba00ab03bdb0ca23588675b5e 100644 |
--- a/third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
+++ b/third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
@@ -34,6 +34,7 @@ |
#include "util/win/get_function.h" |
#include "util/win/handle.h" |
#include "util/win/registration_protocol_win.h" |
+#include "util/win/safe_terminate_process.h" |
#include "util/win/xp_compat.h" |
namespace crashpad { |
@@ -546,7 +547,7 @@ void __stdcall ExceptionHandlerServer::OnCrashDumpEvent(void* ctx, BOOLEAN) { |
client->crash_exception_information_address(), |
client->debug_critical_section_address()); |
- TerminateProcess(client->process(), exit_code); |
+ SafeTerminateProcess(client->process(), exit_code); |
} |
// static |