diff --git a/atom/common/crash_reporter/crash_reporter_mac.mm b/atom/common/crash_reporter/crash_reporter_mac.mm index d5107b5edb99..cdaa5d2f52e6 100644 --- a/atom/common/crash_reporter/crash_reporter_mac.mm +++ b/atom/common/crash_reporter/crash_reporter_mac.mm @@ -44,13 +44,12 @@ void CrashReporterMac::InitBreakpad(const std::string& product_name, framework_bundle_path.Append("Resources").Append("crashpad_handler"); crashpad::CrashpadClient crashpad_client; - if (crashpad_client.StartHandler(handler_path, crashes_dir, - submit_url, - StringMap(), - std::vector(), - true)) { - crashpad_client.UseHandler(); - } + crashpad_client.StartHandler(handler_path, crashes_dir, crashes_dir, + submit_url, + StringMap(), + std::vector(), + true, + false); } // @autoreleasepool }