diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 19:53:14 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 19:53:14 +0000 |
commit | 1fcfb2066570eb096964567c841f6a1bd6cb1ec5 (patch) | |
tree | 5cac121ea9daa9436903e6c30902ed9c49033e32 /chrome/browser/hang_monitor | |
parent | b0dee8a4fb85517e0b57daf343293f945796940d (diff) | |
download | chromium_src-1fcfb2066570eb096964567c841f6a1bd6cb1ec5.zip chromium_src-1fcfb2066570eb096964567c841f6a1bd6cb1ec5.tar.gz chromium_src-1fcfb2066570eb096964567c841f6a1bd6cb1ec5.tar.bz2 |
Take two at splitting result codes between content and chrome.
content/common/result_codes.h contains only the codes defined in content. chrome/common/chrome_result_codes.h contains the codes defined in chrome and also includes (for convenience) the content header.
R=jam@chromium.org
BUG=76699
TEST=everything compiles
Review URL: http://codereview.chromium.org/7397004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/hang_monitor')
-rw-r--r-- | chrome/browser/hang_monitor/hung_window_detector.cc | 4 |
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; |