summaryrefslogtreecommitdiffstats
path: root/chrome/browser/hang_monitor
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-15 20:47:40 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-15 20:47:40 +0000
commit36d772caff4517f3dc536f582816ac786508e2cb (patch)
tree97c04d0eb3e3d205ef980686ebb8300a2596e725 /chrome/browser/hang_monitor
parent7fea8ad60431ed71df2a087b131e4a5cde2b6755 (diff)
downloadchromium_src-36d772caff4517f3dc536f582816ac786508e2cb.zip
chromium_src-36d772caff4517f3dc536f582816ac786508e2cb.tar.gz
chromium_src-36d772caff4517f3dc536f582816ac786508e2cb.tar.bz2
Revert r92730, r92731, r92732 ... will land again once I ensure the win builds compile.
TBR=jam@chromium.org BUG=none TEST= Review URL: http://codereview.chromium.org/7400002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/hang_monitor')
-rw-r--r--chrome/browser/hang_monitor/hung_window_detector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/hang_monitor/hung_window_detector.cc b/chrome/browser/hang_monitor/hung_window_detector.cc
index 035f270..39bedc6 100644
--- a/chrome/browser/hang_monitor/hung_window_detector.cc
+++ b/chrome/browser/hang_monitor/hung_window_detector.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -148,7 +148,7 @@ bool HungWindowDetector::CheckChildWindow(HWND child_window) {
if (process_id_check != child_window_process_id) {
break;
}
- TerminateProcess(child_process, content::RESULT_CODE_HUNG);
+ TerminateProcess(child_process, ResultCodes::HUNG);
WaitForSingleObject(child_process, kTerminateTimeout);
child_process.Close();
break;