Index: ipc/ipc_sync_channel.cc |
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc |
index be8315cdcda8cbf39db265e89559df3eae5dbc85..b331779622d858eace9791cc57c0ad1f82a94fbd 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. |