| Index: chrome/app/chrome_main_delegate.cc
|
| diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
|
| index 168b32e9883ab402090cd3b268de83123403f838..f8b72dde8e721b54329cc63830d526fd70777efa 100644
|
| --- a/chrome/app/chrome_main_delegate.cc
|
| +++ b/chrome/app/chrome_main_delegate.cc
|
| @@ -579,12 +579,10 @@ void ChromeMainDelegate::InitMacCrashReporter(
|
| // itself.
|
| // * If Breakpad is disabled, we only turn on Crash Reporter for the
|
| // Browser process in release mode.
|
| - if (!command_line.HasSwitch(switches::kDisableBreakpad)) {
|
| - bool disable_apple_crash_reporter = is_debug_build ||
|
| - base::mac::IsBackgroundOnlyProcess();
|
| - if (!breakpad::IsCrashReporterEnabled() && disable_apple_crash_reporter) {
|
| - base::mac::DisableOSCrashDumps();
|
| - }
|
| + if (base::mac::IsBackgroundOnlyProcess() ||
|
| + breakpad::IsCrashReporterEnabled() ||
|
| + is_debug_build) {
|
| + base::mac::DisableOSCrashDumps();
|
| }
|
|
|
| // Mac Chrome is packaged with a main app bundle and a helper app bundle.
|
|
|