summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_process_host.cc
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 00:27:11 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 00:27:11 +0000
commitcd5241ff75071da8e4345e81ebc220e17505a306 (patch)
treee7fc505124d9a6bb2a74b18ac32d17df5ac0bd2a /chrome/browser/render_process_host.cc
parentf20dac42c398c437ff65c79c9a5610bd8e04af91 (diff)
downloadchromium_src-cd5241ff75071da8e4345e81ebc220e17505a306.zip
chromium_src-cd5241ff75071da8e4345e81ebc220e17505a306.tar.gz
chromium_src-cd5241ff75071da8e4345e81ebc220e17505a306.tar.bz2
Adds exitcodes for the TerminateProcess calls on hung renderers. There are still plenty of TerminateProcess(..., 0) calls, but these are the ones I know.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/render_process_host.cc')
-rw-r--r--chrome/browser/render_process_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/render_process_host.cc b/chrome/browser/render_process_host.cc
index 2520651..feb1e32 100644
--- a/chrome/browser/render_process_host.cc
+++ b/chrome/browser/render_process_host.cc
@@ -509,7 +509,7 @@ bool RenderProcessHost::FastShutdownIfPossible() {
}
// Otherwise, call TerminateProcess. Using exit code 0 means that UMA won't
// treat this as a renderer crash.
- ::TerminateProcess(proc, 0);
+ ::TerminateProcess(proc, ResultCodes::NORMAL_EXIT);
return true;
}