summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app/breakpad_linux.cc')
-rw-r--r--chrome/app/breakpad_linux.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index 2b293be..588118a 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -518,8 +518,10 @@ void InitCrashReporter() {
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
const std::wstring process_type =
parsed_command_line.GetSwitchValue(switches::kProcessType);
- if (process_type.empty())
+ if (process_type.empty()) {
EnableCrashDumping();
- else if (process_type == switches::kRendererProcess)
+ } else if (process_type == switches::kRendererProcess ||
+ process_type == switches::kZygoteProcess) {
EnableRendererCrashDumping();
+ }
}