From 6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Fri, 24 Apr 2009 23:27:11 +0000 Subject: Revert "POSIX: Don't spawn zombies." (r14488) Something else is trying to reap children in the ui_tests and causing a mess. Reverting since it's a Friday night. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14499 0039d316-1c4b-4281-b951-d872f2087c98 --- base/process_util_win.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'base/process_util_win.cc') diff --git a/base/process_util_win.cc b/base/process_util_win.cc index fc05664..13fec9a 100644 --- a/base/process_util_win.cc +++ b/base/process_util_win.cc @@ -270,12 +270,8 @@ bool KillProcess(ProcessHandle process, int exit_code, bool wait) { return result; } -bool DidProcessCrash(bool* child_exited, ProcessHandle handle) { +bool DidProcessCrash(ProcessHandle handle) { DWORD exitcode = 0; - - if (child_exited) - *child_exited = true; // On Windows it an error to call this function if - // the child hasn't already exited. if (!::GetExitCodeProcess(handle, &exitcode)) { NOTREACHED(); return false; -- cgit v1.1