Index: ios/chrome/browser/crash_report/breakpad_helper.mm |
diff --git a/ios/chrome/browser/crash_report/breakpad_helper.mm b/ios/chrome/browser/crash_report/breakpad_helper.mm |
index 252df3da7c5b61499a37109909f392706885147d..fe741875caf9fc17628adffc43302e3b0fb565b1 100644 |
--- a/ios/chrome/browser/crash_report/breakpad_helper.mm |
+++ b/ios/chrome/browser/crash_report/breakpad_helper.mm |
@@ -78,7 +78,7 @@ void ClearCrashKeyValueImpl(const base::StringPiece& key) { |
RemoveReportParameter(base::SysUTF8ToNSString(key.as_string())); |
} |
-// Callback for logging::SetLogMessageHandler |
+// Callback for logging::PushLogMessageHandler |
bool FatalMessageHandler(int severity, |
const char* file, |
int line, |
@@ -130,7 +130,7 @@ void Start(const std::string& channel_name) { |
[[BreakpadController sharedInstance] start:YES]; |
base::debug::SetCrashKeyReportingFunctions(&SetCrashKeyValueImpl, |
&ClearCrashKeyValueImpl); |
- logging::SetLogMessageHandler(&FatalMessageHandler); |
+ logging::PushLogMessageHandler(&FatalMessageHandler); |
g_crash_reporter_enabled = true; |
// Register channel information. |
if (channel_name.length()) { |