Index: base/time_unittest.cc |
diff --git a/base/time_unittest.cc b/base/time_unittest.cc |
index 6ba03b8c114133336bf9a504860afb597315b973..261b831fe85cd20f10c6e23bc8c5cb70da6d81df 100644 |
--- a/base/time_unittest.cc |
+++ b/base/time_unittest.cc |
@@ -311,7 +311,7 @@ TEST_F(TimeTest, ParseTimeTestInvalidString) { |
TEST(TimeTicks, Deltas) { |
for (int index = 0; index < 50; index++) { |
TimeTicks ticks_start = TimeTicks::Now(); |
- base::PlatformThread::Sleep(10); |
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); |
TimeTicks ticks_stop = TimeTicks::Now(); |
TimeDelta delta = ticks_stop - ticks_start; |
// Note: Although we asked for a 10ms sleep, if the |