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

Unified Diff: chrome/test/base/view_event_test_base.cc

Issue 10027014: Update uses of TimeDelta in chrome/test/base. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/view_event_test_base.cc
diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc
index 4f88ed1d8f69b70f757fcce5f5bffa6e9cae02c5..a98b80ef3d96e5e80e599f71f6666bfd7e980fce 100644
--- a/chrome/test/base/view_event_test_base.cc
+++ b/chrome/test/base/view_event_test_base.cc
@@ -166,7 +166,7 @@ void ViewEventTestBase::ScheduleMouseMoveInBackground(int x, int y) {
dnd_thread_->message_loop()->PostDelayedTask(
FROM_HERE,
base::Bind(base::IgnoreResult(&ui_controls::SendMouseMove), x, y),
- kMouseMoveDelayMS);
+ base::TimeDelta::FromMilliseconds(kMouseMoveDelayMS));
}
void ViewEventTestBase::StopBackgroundThread() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698