Index: src/client/windows/handler/exception_handler.cc |
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc |
index b78075dec5a17975e2f88d5997b8c4b508a928f3..ef581dd3a9ac425522dff72aa93ff2dd8c9b41ff 100644 |
--- a/src/client/windows/handler/exception_handler.cc |
+++ b/src/client/windows/handler/exception_handler.cc |
@@ -764,9 +764,10 @@ bool ExceptionHandler::WriteMinidumpForException(EXCEPTION_POINTERS* exinfo) { |
// static |
bool ExceptionHandler::WriteMinidump(const wstring &dump_path, |
MinidumpCallback callback, |
- void* callback_context) { |
+ void* callback_context, |
+ MINIDUMP_TYPE dump_type) { |
ExceptionHandler handler(dump_path, NULL, callback, callback_context, |
- HANDLER_NONE); |
+ HANDLER_NONE, dump_type, (HANDLE)NULL, NULL); |
return handler.WriteMinidump(); |
} |
@@ -775,7 +776,8 @@ bool ExceptionHandler::WriteMinidumpForChild(HANDLE child, |
DWORD child_blamed_thread, |
const wstring& dump_path, |
MinidumpCallback callback, |
- void* callback_context) { |
+ void* callback_context, |
+ MINIDUMP_TYPE dump_type) { |
EXCEPTION_RECORD ex; |
CONTEXT ctx; |
EXCEPTION_POINTERS exinfo = { NULL, NULL }; |
@@ -806,7 +808,7 @@ bool ExceptionHandler::WriteMinidumpForChild(HANDLE child, |
} |
ExceptionHandler handler(dump_path, NULL, callback, callback_context, |
- HANDLER_NONE); |
+ HANDLER_NONE, dump_type, (HANDLE)NULL, NULL); |
bool success = handler.WriteMinidumpWithExceptionForProcess( |
child_blamed_thread, |
exinfo.ExceptionRecord ? &exinfo : NULL, |