Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: components/crash/content/app/crashpad_mac.mm

Issue 2748903003: [Mac] Use Crashpad in the AlertNotificationService.xpc. (Closed)
Patch Set: Comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/crash/content/app/crashpad_mac.mm
diff --git a/components/crash/content/app/crashpad_mac.mm b/components/crash/content/app/crashpad_mac.mm
index 7df66ea3d3244c5ff2625d860353e78625024412..2cabccb88d19c655afe3248ad10a3086b0afddce 100644
--- a/components/crash/content/app/crashpad_mac.mm
+++ b/components/crash/content/app/crashpad_mac.mm
@@ -90,15 +90,9 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client,
"--reset-own-crash-exception-port-to-system-default");
}
- crashpad::CrashpadClient crashpad_client;
- bool result = crashpad_client.StartHandler(handler_path,
- database_path,
- metrics_path,
- url,
- process_annotations,
- arguments,
- true,
- false);
+ bool result = GetCrashpadClient().StartHandler(
+ handler_path, database_path, metrics_path, url, process_annotations,
+ arguments, true, false);
// If this is an initial client that's not the browser process, it's
// important to sever the connection to any existing handler. If

Powered by Google App Engine
This is Rietveld 408576698