Index: base/threading/platform_thread_unittest.cc |
diff --git a/base/threading/platform_thread_unittest.cc b/base/threading/platform_thread_unittest.cc |
index 4b494503e86273423ad7299c0d00e737219055e8..8fa387b24249ed7ef0163907f778df055d9c000f 100644 |
--- a/base/threading/platform_thread_unittest.cc |
+++ b/base/threading/platform_thread_unittest.cc |
@@ -59,7 +59,7 @@ class FunctionTestThread : public TrivialThread { |
virtual void ThreadMain() { |
thread_id_ = PlatformThread::CurrentId(); |
PlatformThread::YieldCurrentThread(); |
- PlatformThread::Sleep(50); |
+ PlatformThread::Sleep(TimeDelta::FromMilliseconds(50)); |
TrivialThread::ThreadMain(); |
} |