Index: components/breakpad/app/breakpad_mac.mm |
diff --git a/components/breakpad/app/breakpad_mac.mm b/components/breakpad/app/breakpad_mac.mm |
index b6cac42fe38b7ce038578208236ffd2d364580dd..d46b0c4afaaf1b01779644473544860bbecfc7ee 100644 |
--- a/components/breakpad/app/breakpad_mac.mm |
+++ b/components/breakpad/app/breakpad_mac.mm |
@@ -12,6 +12,7 @@ |
#import "base/basictypes.h" |
#include "base/command_line.h" |
#include "base/debug/crash_logging.h" |
+#include "base/debug/dump_without_crashing.h" |
#include "base/file_util.h" |
#include "base/files/file_path.h" |
#import "base/logging.h" |
@@ -243,8 +244,7 @@ void InitCrashReporter(const std::string& process_type) { |
} |
logging::SetLogMessageHandler(&FatalMessageHandler); |
- GetBreakpadClient()->SetDumpWithoutCrashingFunction( |
- &DumpHelper::DumpWithoutCrashing); |
+ base::debug::SetDumpWithoutCrashingFunction(&DumpHelper::DumpWithoutCrashing); |
// abort() sends SIGABRT, which breakpad does not intercept. |
// Register a signal handler to crash in a way breakpad will |