| Index: content/browser/browser_child_process_host.cc
|
| diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc
|
| index 628681909e01aaef664340a2acfc8ef094cb9866..25b5a216da4232668d0e4f222712331b681d5ead 100644
|
| --- a/content/browser/browser_child_process_host.cc
|
| +++ b/content/browser/browser_child_process_host.cc
|
| @@ -206,12 +206,13 @@ void BrowserChildProcessHost::OnChildDisconnected() {
|
| // 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 int kExitCodeWaitMs = 250;
|
| + const base::TimeDelta kExitCodeWait =
|
| + base::TimeDelta::FromMilliseconds(250);
|
| MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
| base::Bind(&BrowserChildProcessHost::OnChildDisconnected,
|
| task_factory_.GetWeakPtr()),
|
| - kExitCodeWaitMs);
|
| + kExitCodeWait);
|
| #endif
|
| return;
|
| }
|
|
|