diff options
Diffstat (limited to 'ipc/ipc_sync_channel_unittest.cc')
-rw-r--r-- | ipc/ipc_sync_channel_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc index 81ca560..2b74ff4 100644 --- a/ipc/ipc_sync_channel_unittest.cc +++ b/ipc/ipc_sync_channel_unittest.cc @@ -1053,7 +1053,9 @@ class DoneEventRaceServer : public Worker { MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&NestedCallback, this)); MessageLoop::current()->PostDelayedTask( - FROM_HERE, base::Bind(&TimeoutCallback), 9000); + FROM_HERE, + base::Bind(&TimeoutCallback), + base::TimeDelta::FromSeconds(9)); // Even though we have a timeout on the Send, it will succeed since for this // bug, the reply message comes back and is deserialized, however the done // event wasn't set. So we indirectly use the timeout task to notice if a |