Index: base/synchronization/waitable_event_watcher_unittest.cc |
diff --git a/base/synchronization/waitable_event_watcher_unittest.cc b/base/synchronization/waitable_event_watcher_unittest.cc |
index 1715dff99fef88f19a4d2674e7f48a80df72272c..ee9478ab9ed571a47a1f9e2dd5732f817c9245b6 100644 |
--- a/base/synchronization/waitable_event_watcher_unittest.cc |
+++ b/base/synchronization/waitable_event_watcher_unittest.cc |
@@ -80,7 +80,7 @@ void RunTest_CancelAfterSet(MessageLoop::Type message_loop_type) { |
event.Signal(); |
// Let the background thread do its business |
- base::PlatformThread::Sleep(30); |
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(30)); |
watcher.StopWatching(); |