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

Unified Diff: media/tools/player_x11/player_x11.cc

Issue 9582042: Convert uses of int ms to TimeDelta in media. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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 | « media/filters/pipeline_integration_test_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/player_x11/player_x11.cc
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc
index 8a807191237d1c373e6762c3b2fb6db64f65af95..f89f63ad4de669c8233f5265707c93818e2f2a60 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -220,9 +220,13 @@ void PeriodicalUpdate(
}
}
- message_loop->PostDelayedTask(FROM_HERE, base::Bind(
- &PeriodicalUpdate, make_scoped_refptr(pipeline),
- message_loop, audio_only), 10);
+ message_loop->PostDelayedTask(
+ FROM_HERE,
+ base::Bind(&PeriodicalUpdate,
+ make_scoped_refptr(pipeline),
+ message_loop,
+ audio_only),
+ base::TimeDelta::FromMilliseconds(10));
}
int main(int argc, char** argv) {
« no previous file with comments | « media/filters/pipeline_integration_test_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698