Index: components/breakpad/app/breakpad_win.cc |
diff --git a/components/breakpad/app/breakpad_win.cc b/components/breakpad/app/breakpad_win.cc |
index af1f13654acea6f2c1ae52f4a53088e0dbeb1946..02daab6868bc55865673eaedb8d5efdac3942c82 100644 |
--- a/components/breakpad/app/breakpad_win.cc |
+++ b/components/breakpad/app/breakpad_win.cc |
@@ -17,6 +17,7 @@ |
#include "base/basictypes.h" |
#include "base/command_line.h" |
#include "base/debug/crash_logging.h" |
+#include "base/debug/dump_without_crashing.h" |
#include "base/environment.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
@@ -745,6 +746,8 @@ void InitCrashReporter(const std::string& process_type_switch) { |
google_breakpad::ExceptionHandler::HANDLER_NONE, |
dump_type, pipe_name.c_str(), custom_info); |
+ base::debug::SetDumpWithoutCrashingFunction(&DumpProcessWithoutCrash); |
+ |
if (g_breakpad->IsOutOfProcess()) { |
// Tells breakpad to handle breakpoint and single step exceptions. |
// This might break JIT debuggers, but at least it will always |