| Index: content/browser/browser_child_process_host.cc
|
| ===================================================================
|
| --- content/browser/browser_child_process_host.cc (revision 117824)
|
| +++ content/browser/browser_child_process_host.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 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.
|
|
|
| @@ -207,13 +207,12 @@
|
| // disconnecting the channel so that the exit code and termination status
|
| // become available. This is best effort -- if the process doesn't die
|
| // within the time limit, this object gets destroyed.
|
| - const base::TimeDelta kExitCodeWait =
|
| - base::TimeDelta::FromMilliseconds(250);
|
| + const int kExitCodeWaitMs = 250;
|
| MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
| base::Bind(&BrowserChildProcessHost::OnChildDisconnected,
|
| task_factory_.GetWeakPtr()),
|
| - kExitCodeWait);
|
| + kExitCodeWaitMs);
|
| #endif
|
| return;
|
| }
|
|
|