Chromium Code Reviews| Index: chrome/app/breakpad_linux.cc |
| diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc |
| index 2b293be96793f36ec622940d3ac7e87262d4e50a..588118a2b5eff13381ace5a447cc10752d48ddef 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) { |
|
Lei Zhang
2009/06/23 03:52:45
Is this ever the case? When does a zygote process
|
| EnableRendererCrashDumping(); |
| + } |
| } |