Index: content/browser/browser_child_process_host_impl.cc |
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc |
index 54f8fcca35e74b950db880b29273448e5d47a4f1..26d9463065a2358eb8a1aa18476b65f4163ce1c0 100644 |
--- a/content/browser/browser_child_process_host_impl.cc |
+++ b/content/browser/browser_child_process_host_impl.cc |
@@ -258,12 +258,13 @@ void BrowserChildProcessHostImpl::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(&BrowserChildProcessHostImpl::OnChildDisconnected, |
task_factory_.GetWeakPtr()), |
- kExitCodeWaitMs); |
+ kExitCodeWait); |
#endif |
return; |
} |