summaryrefslogtreecommitdiffstats
path: root/components/breakpad/app/breakpad_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/breakpad/app/breakpad_linux.cc')
-rw-r--r--components/breakpad/app/breakpad_linux.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/breakpad/app/breakpad_linux.cc b/components/breakpad/app/breakpad_linux.cc
index cc220f1..098c370 100644
--- a/components/breakpad/app/breakpad_linux.cc
+++ b/components/breakpad/app/breakpad_linux.cc
@@ -25,6 +25,7 @@
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/debug/crash_logging.h"
+#include "base/debug/dump_without_crashing.h"
#include "base/files/file_path.h"
#include "base/linux_util.h"
#include "base/path_service.h"
@@ -1486,7 +1487,7 @@ void InitCrashReporter(const std::string& process_type) {
SetProcessStartTime();
g_pid = getpid();
- GetBreakpadClient()->SetDumpWithoutCrashingFunction(&DumpProcess);
+ base::debug::SetDumpWithoutCrashingFunction(&DumpProcess);
#if defined(ADDRESS_SANITIZER)
// Register the callback for AddressSanitizer error reporting.
__asan_set_error_report_callback(AsanLinuxBreakpadCallback);