Index: ipc/ipc_sync_channel_unittest.cc |
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc |
index e7903f48abdf27ab66e089f1c552c7ae0cca5989..b30addfc9bd290bff84c5b95bce12d6927368337 100644 |
--- a/ipc/ipc_sync_channel_unittest.cc |
+++ b/ipc/ipc_sync_channel_unittest.cc |
@@ -1034,7 +1034,7 @@ namespace { |
void NestedCallback(Worker* server) { |
// Sleep a bit so that we wake up after the reply has been received. |
- base::PlatformThread::Sleep(250); |
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(250)); |
server->SendAnswerToLife(true, base::kNoTimeout, true); |
} |