summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_sync_channel_unittest.cc
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-07 04:41:40 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-07 04:41:40 +0000
commit5896fa04bfa1bef627d6d9bb101326668bc29bb4 (patch)
treecc751999e5e87e0ab250d015e4b121e67fc47c15 /ipc/ipc_sync_channel_unittest.cc
parent1813439565ec0222546b3e2fbaaf5d67ba639bfd (diff)
downloadchromium_src-5896fa04bfa1bef627d6d9bb101326668bc29bb4.zip
chromium_src-5896fa04bfa1bef627d6d9bb101326668bc29bb4.tar.gz
chromium_src-5896fa04bfa1bef627d6d9bb101326668bc29bb4.tar.bz2
Convert uses of int ms to TimeDelta in content/browser, ipc, and webkit/plugins.
R=jam@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/9572035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_sync_channel_unittest.cc')
-rw-r--r--ipc/ipc_sync_channel_unittest.cc4
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