Index: ipc/ipc_channel_posix_unittest.cc |
diff --git a/ipc/ipc_channel_posix_unittest.cc b/ipc/ipc_channel_posix_unittest.cc |
index e8856a911c2fad5f0c9ed04994148b1686606119..48f4bee1bb0e8e6f3f32d2553ea165a2fde2b22e 100644 |
--- a/ipc/ipc_channel_posix_unittest.cc |
+++ b/ipc/ipc_channel_posix_unittest.cc |
@@ -177,7 +177,10 @@ void IPCChannelPosixTest::SpinRunLoop(int milliseconds) { |
// in the case of a bad test. Usually, the run loop will quit sooner than |
// that because all tests use a IPCChannelPosixTestListener which quits the |
// current run loop on any channel activity. |
- loop->PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), milliseconds); |
+ loop->PostDelayedTask( |
+ FROM_HERE, |
+ MessageLoop::QuitClosure(), |
+ base::TimeDelta::FromMilliseconds(milliseconds)); |
loop->Run(); |
} |