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

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

Issue 8879032: Removing MessageLoop::QuitTask() from media/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fixed. Created 9 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
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 0a9f2066cf8125a27c6252b168d8b0619e65c9ba..323f2500da0156269c139f24779712e05c5b0165 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -37,7 +37,7 @@ class MessageLoopQuitter {
public:
explicit MessageLoopQuitter(MessageLoop* loop) : loop_(loop) {}
void Quit(media::PipelineStatus status) {
- loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
delete this;
}
private:
« no previous file with comments | « media/audio/win/audio_low_latency_output_win_unittest.cc ('k') | media/video/capture/video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698