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

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

Issue 8483003: Callback API Change: Reimplement Bind(); support IgnoreResult, full currying, and use less types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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 | « content/renderer/render_widget_fullscreen_pepper.cc ('k') | remoting/protocol/jingle_session_unittest.cc » ('j') | 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 7676eef5b9f4b882e551ddfecdfb54ab7ca64a5d..0a9f2066cf8125a27c6252b168d8b0619e65c9ba 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -189,7 +189,7 @@ void PeriodicalUpdate(
}
message_loop->PostDelayedTask(FROM_HERE, base::Bind(
- PeriodicalUpdate, make_scoped_refptr(pipeline),
+ &PeriodicalUpdate, make_scoped_refptr(pipeline),
message_loop, audio_only), 10);
}
@@ -250,7 +250,7 @@ int main(int argc, char** argv) {
audio_only = !pipeline->HasVideo();
message_loop.PostTask(FROM_HERE, base::Bind(
- PeriodicalUpdate, pipeline, &message_loop, audio_only));
+ &PeriodicalUpdate, pipeline, &message_loop, audio_only));
message_loop.Run();
} else{
std::cout << "Pipeline initialization failed..." << std::endl;
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.cc ('k') | remoting/protocol/jingle_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698