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

Unified Diff: media/audio/cross_process_notification_unittest.cc

Issue 10029005: Update uses of TimeDelta in audio code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 8 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 | « no previous file | media/audio/win/audio_low_latency_input_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/cross_process_notification_unittest.cc
diff --git a/media/audio/cross_process_notification_unittest.cc b/media/audio/cross_process_notification_unittest.cc
index dbf38d9d89d91d31ea5938238e3ea94cf58fde2a..a5ff7b0f2df712faa89b4ee5f5b2086b5ab61417 100644
--- a/media/audio/cross_process_notification_unittest.cc
+++ b/media/audio/cross_process_notification_unittest.cc
@@ -410,7 +410,7 @@ MULTIPROCESS_TEST_MAIN(CrossProcessNotificationChildMain) {
CrudeIpc* ipc = reinterpret_cast<CrudeIpc*>(mem.memory());
while (!ipc->ready)
- base::PlatformThread::Sleep(10);
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10));
CrossProcessNotification notifier(ipc->handle_1, ipc->handle_2);
notifier.Wait();
« no previous file with comments | « no previous file | media/audio/win/audio_low_latency_input_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698