diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-17 20:56:01 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-17 20:56:01 +0000 |
commit | 98240004f86542ad638b7fc452b80efeecfbf29c (patch) | |
tree | 71cdf64faf37bc1f576dd61a619ca7a042d4b21b | |
parent | a225f537bcb64e5e40d4b98d16da9d91427207a4 (diff) | |
download | chromium_src-98240004f86542ad638b7fc452b80efeecfbf29c.zip chromium_src-98240004f86542ad638b7fc452b80efeecfbf29c.tar.gz chromium_src-98240004f86542ad638b7fc452b80efeecfbf29c.tar.bz2 |
Fix build break on Mac release.
BUG=6844
TBR=darin
Review URL: http://codereview.chromium.org/405006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32205 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/child_process_launcher.cc | 5 |
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); } |