| Index: components/crash/app/breakpad_mac.mm
|
| diff --git a/components/crash/app/breakpad_mac.mm b/components/crash/app/breakpad_mac.mm
|
| index 904e6bda94c60b02b5c326de211e1689e4ede99b..9f617398f1939cedc13a6113c767beee658883d8 100644
|
| --- a/components/crash/app/breakpad_mac.mm
|
| +++ b/components/crash/app/breakpad_mac.mm
|
| @@ -218,6 +218,14 @@ void InitCrashReporter(const std::string& process_type) {
|
| [breakpad_config setObject:base::SysUTF8ToNSString(dir_crash_dumps.value())
|
| forKey:@BREAKPAD_DUMP_DIRECTORY];
|
|
|
| + // Temporarily run Breakpad in-process on 10.10 and later because APIs that
|
| + // it depends on got broken (http://crbug.com/386208).
|
| + // This can catch crashes in the browser process only.
|
| + if (is_browser && base::mac::IsOSYosemiteOrLater()) {
|
| + [breakpad_config setObject:[NSNumber numberWithBool:YES]
|
| + forKey:@BREAKPAD_IN_PROCESS];
|
| + }
|
| +
|
| // Initialize Breakpad.
|
| gBreakpadRef = BreakpadCreate(breakpad_config);
|
| if (!gBreakpadRef) {
|
|
|