diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 21:37:26 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 21:37:26 +0000 |
commit | 11d6ab1a0c2a9605db4dbc66953c99d0dfda132a (patch) | |
tree | 9bfd5c19a3884acf1a0a06b6e9a9f5d9a40b23a9 /chrome/test | |
parent | 0d0e00f9789bd29a318380fb7eebf410cfa196dd (diff) | |
download | chromium_src-11d6ab1a0c2a9605db4dbc66953c99d0dfda132a.zip chromium_src-11d6ab1a0c2a9605db4dbc66953c99d0dfda132a.tar.gz chromium_src-11d6ab1a0c2a9605db4dbc66953c99d0dfda132a.tar.bz2 |
Convert use of int ms to TimeDelta in files owned by sky.
R=sky@chromium.org
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9190024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/base/ui_test_utils.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc index b449669..66b3fa4 100644 --- a/chrome/test/base/ui_test_utils.cc +++ b/chrome/test/base/ui_test_utils.cc @@ -734,7 +734,10 @@ void TimedMessageLoopRunner::Quit() { void TimedMessageLoopRunner::QuitAfter(int ms) { quit_loop_invoked_ = true; - loop_->PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), ms); + loop_->PostDelayedTask( + FROM_HERE, + MessageLoop::QuitClosure(), + base::TimeDelta::FromMilliseconds(ms)); } namespace { |