Index: components/breakpad/app/breakpad_linux.cc |
diff --git a/components/breakpad/app/breakpad_linux.cc b/components/breakpad/app/breakpad_linux.cc |
index cc220f14bb0ef8cf946b45cc2a13883f759e36e6..098c3709a87baecf74629d16356241429e253151 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); |