Index: handler/win/crash_report_exception_handler.cc |
diff --git a/handler/win/crash_report_exception_handler.cc b/handler/win/crash_report_exception_handler.cc |
index 843ac0f5a9aade7cfde120853f4fadffdb8aa9c1..c33020e5acf7158a03af4718294e1b1d8c981207 100644 |
--- a/handler/win/crash_report_exception_handler.cc |
+++ b/handler/win/crash_report_exception_handler.cc |
@@ -42,14 +42,16 @@ void CrashReportExceptionHandler::ExceptionHandlerServerStarted() { |
unsigned int CrashReportExceptionHandler::ExceptionHandlerServerException( |
HANDLE process, |
- WinVMAddress exception_information_address) { |
+ WinVMAddress exception_information_address, |
+ WinVMAddress debug_critical_section_address) { |
const unsigned int kFailedTerminationCode = 0xffff7002; |
ScopedProcessSuspend suspend(process); |
ProcessSnapshotWin process_snapshot; |
if (!process_snapshot.Initialize(process, |
- ProcessSuspensionState::kSuspended)) { |
+ ProcessSuspensionState::kSuspended, |
+ debug_critical_section_address)) { |
LOG(WARNING) << "ProcessSnapshotWin::Initialize failed"; |
return kFailedTerminationCode; |
} |