Chromium Code Reviews| 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..1429340f62480f4e4e2a2f66a85e4be30ca86f98 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() call UseSystemDefaultHandler() in that case to drop the |
|
Mark Mentovai
2016/11/03 21:35:30
Removed too many words here.
scottmg
2016/11/03 22:01:08
Done.
|
| + // link to the existing handler. |
| if (!result && !browser_process) { |
| crashpad::CrashpadClient::UseSystemDefaultHandler(); |
| } |