Index: components/breakpad/app/breakpad_win.cc |
diff --git a/components/breakpad/app/breakpad_win.cc b/components/breakpad/app/breakpad_win.cc |
index 1f6a3c49a93b5f4fc3ab90331d8bba0c800c7832..56c4cf9b1086cb3843be822624c83b189d7b6fed 100644 |
--- a/components/breakpad/app/breakpad_win.cc |
+++ b/components/breakpad/app/breakpad_win.cc |
@@ -573,6 +573,10 @@ void InitCrashReporter(const std::string& process_type_switch) { |
google_breakpad::ExceptionHandler::HANDLER_NONE, |
dump_type, pipe_name.c_str(), custom_info); |
+ // Set the DumpWithoutCrashingFunction for this instance of base.lib. Other |
+ // executable images linked with base should set this again for |
+ // DumpWithoutCrashing to function correctly. |
+ // See chrome_main.cc for example. |
base::debug::SetDumpWithoutCrashingFunction(&DumpProcessWithoutCrash); |
if (g_breakpad->IsOutOfProcess()) { |