Commit 4f5cf280 authored by tedvessenes@gmail.com's avatar tedvessenes@gmail.com

Convert uses of int ms to TimeDelta in chrome/test.


R=jbates@chromium.org
BUG=108171


Review URL: http://codereview.chromium.org/9584042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124988 0039d316-1c4b-4281-b951-d872f2087c98
parent 25b882a6
......@@ -190,7 +190,9 @@ class ThroughputTest : public BrowserPerfTest {
void Wait(int ms) {
MessageLoop::current()->PostDelayedTask(
FROM_HERE, MessageLoop::QuitClosure(), ms);
FROM_HERE,
MessageLoop::QuitClosure(),
base::TimeDelta::FromMilliseconds(ms));
ui_test_utils::RunMessageLoop();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment