Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1126)

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 9233018: Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/translate_helper.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « chrome/renderer/translate_helper.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698