summaryrefslogtreecommitdiffstats
path: root/chrome/browser/hang_monitor/hung_window_detector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/hang_monitor/hung_window_detector.cc')
-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 39bedc6..035f270 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) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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, ResultCodes::HUNG);
+ TerminateProcess(child_process, content::RESULT_CODE_HUNG);
WaitForSingleObject(child_process, kTerminateTimeout);
child_process.Close();
break;