Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: ipc/ipc_sync_channel_unittest.cc

Issue 9148039: Convert use of int ms to TimeDelta in files owned by jeremy. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove static class initialization. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_logging.cc ('k') | ipc/ipc_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel_unittest.cc
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc
index e7903f48abdf27ab66e089f1c552c7ae0cca5989..b30addfc9bd290bff84c5b95bce12d6927368337 100644
--- a/ipc/ipc_sync_channel_unittest.cc
+++ b/ipc/ipc_sync_channel_unittest.cc
@@ -1034,7 +1034,7 @@ namespace {
void NestedCallback(Worker* server) {
// Sleep a bit so that we wake up after the reply has been received.
- base::PlatformThread::Sleep(250);
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(250));
server->SendAnswerToLife(true, base::kNoTimeout, true);
}
« no previous file with comments | « ipc/ipc_logging.cc ('k') | ipc/ipc_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698