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 3223dddc38df570cb6c3eff4b931f07a9a66d46b..7df66ea3d3244c5ff2625d860353e78625024412 100644 |
--- a/components/crash/content/app/crashpad_mac.mm |
+++ b/components/crash/content/app/crashpad_mac.mm |
@@ -97,15 +97,13 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client, |
url, |
process_annotations, |
arguments, |
- true); |
- if (result) { |
- result = crashpad_client.UseHandler(); |
- } |
+ 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 |
- // StartHandler() or UseHandler() failed, call UseSystemDefaultHandler() |
- // in that case to drop the link to the existing handler. |
+ // StartHandler() failed, call UseSystemDefaultHandler() to drop the link |
+ // to the existing handler. |
if (!result && !browser_process) { |
crashpad::CrashpadClient::UseSystemDefaultHandler(); |
} |