summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_sync_channel.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.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.cc')
-rw-r--r--ipc/ipc_sync_channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
index be8315c..b331779 100644
--- a/ipc/ipc_sync_channel.cc
+++ b/ipc/ipc_sync_channel.cc
@@ -445,7 +445,7 @@ bool SyncChannel::SendWithTimeout(Message* message, int timeout_ms) {
context->ipc_message_loop()->PostDelayedTask(
FROM_HERE,
base::Bind(&SyncContext::OnSendTimeout, context.get(), message_id),
- timeout_ms);
+ base::TimeDelta::FromMilliseconds(timeout_ms));
}
// Wait for reply, or for any other incoming synchronous messages.