| Index: chrome/browser/hang_monitor/hung_window_detector.cc
|
| diff --git a/chrome/browser/hang_monitor/hung_window_detector.cc b/chrome/browser/hang_monitor/hung_window_detector.cc
|
| index 39bedc6de28c511172a26de056ad943d34110345..035f2703692eda04fc3a731eed36b9c9c8b0ac49 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;
|
|
|