summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/child_process_launcher.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/child_process_launcher.cc b/chrome/browser/child_process_launcher.cc
index cb36366..72cf4e5 100644
--- a/chrome/browser/child_process_launcher.cc
+++ b/chrome/browser/child_process_launcher.cc
@@ -210,11 +210,12 @@ base::ProcessHandle ChildProcessLauncher::GetHandle() {
bool ChildProcessLauncher::DidProcessCrash() {
bool did_crash, child_exited;
base::ProcessHandle handle = context_->process_.handle();
- if (context_->zygote_) {
#if defined(OS_LINUX)
+ if (context_->zygote_) {
did_crash = Singleton<ZygoteHost>()->DidProcessCrash(handle, &child_exited);
+ } else
#endif
- } else {
+ {
did_crash = base::DidProcessCrash(&child_exited, handle);
}