| Index: components/crash/app/breakpad_linux.cc
|
| diff --git a/components/crash/app/breakpad_linux.cc b/components/crash/app/breakpad_linux.cc
|
| index c6fef0da0c0b48a23bfb26ae35e00043f167aa3b..03ce34b1089d0baf441b940ed65a8212ee20b7d6 100644
|
| --- a/components/crash/app/breakpad_linux.cc
|
| +++ b/components/crash/app/breakpad_linux.cc
|
| @@ -730,11 +730,12 @@ void InitMicrodumpCrashHandlerIfNecessary(const std::string& process_type) {
|
| VLOG(1) << "Enabling microdumps crash handler (process_type:"
|
| << process_type << ")";
|
| DCHECK(!g_microdump);
|
| + bool is_browser_process = process_type.empty() || process_type == "webview";
|
| g_microdump = new ExceptionHandler(
|
| MinidumpDescriptor(MinidumpDescriptor::kMicrodumpOnConsole),
|
| NULL,
|
| MicrodumpCrashDone,
|
| - reinterpret_cast<void*>(process_type.empty()),
|
| + reinterpret_cast<void*>(is_browser_process),
|
| true, // Install handlers.
|
| -1); // Server file descriptor. -1 for in-process.
|
| return;
|
|
|