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

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

Issue 5864002: Ugh, one more scoped_refptr NewRunnableMethod. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 10 years 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 | 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 973e22dec05605ec89713a33e42d82724632c5ae..4a66bfa15c87cd171b5feefa8b28eec148e85371 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -257,7 +257,7 @@ int main(int argc, char** argv) {
audio_only = !pipeline->IsRendered(media::mime_type::kMajorTypeVideo);
message_loop.PostTask(FROM_HERE,
- NewRunnableFunction(PeriodicalUpdate, pipeline.get(),
+ NewRunnableFunction(PeriodicalUpdate, pipeline,
&message_loop, audio_only));
message_loop.Run();
} else{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698