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 9bd3b21694baa5a6c577fb0e8f75ff738b82ab68..5e81e6411d9fc745447f74fc24c58f814202c082 100644 |
--- a/content/browser/browser_child_process_host.cc |
+++ b/content/browser/browser_child_process_host.cc |
@@ -216,12 +216,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; |
} |