diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 23:27:11 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 23:27:11 +0000 |
commit | 6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75 (patch) | |
tree | 68fa3542f422b3298286829a69cf337a1e434d21 /base/process_util_win.cc | |
parent | 1ef1023581b9f58105864d771cc4cdbe45a29532 (diff) | |
download | chromium_src-6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75.zip chromium_src-6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75.tar.gz chromium_src-6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75.tar.bz2 |
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
Diffstat (limited to 'base/process_util_win.cc')
-rw-r--r-- | base/process_util_win.cc | 6 |
1 files changed, 1 insertions, 5 deletions
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; |