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

Unified Diff: webkit/tools/test_shell/layout_test_controller.cc

Issue 9582043: Convert uses of int ms to TimeDelta in webkit/glue and webkit/tools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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 | « webkit/glue/webthread_impl.cc ('k') | webkit/tools/test_shell/webwidget_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/layout_test_controller.cc
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index 201c3c7b1c38a68d68ecbb1ad9619326a41758f8..aadbd390cf871915a9bafc8294c4cda5849a80b3 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -160,7 +160,7 @@ void LayoutTestController::waitUntilDone(
FROM_HERE,
base::Bind(&LayoutTestController::notifyDoneTimedOut,
weak_factory_.GetWeakPtr()),
- shell_->GetLayoutTestTimeout());
+ base::TimeDelta::FromMilliseconds(shell_->GetLayoutTestTimeout()));
}
wait_until_done_ = true;
« no previous file with comments | « webkit/glue/webthread_impl.cc ('k') | webkit/tools/test_shell/webwidget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698