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

Unified Diff: content/renderer/media/webmediaplayer_impl.cc

Issue 65803002: Replace MessageLoopProxy with SingleThreadTaskRunner for media/filters/ + associated code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « content/renderer/media/rtc_video_encoder.cc ('k') | media/base/bind_to_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_impl.cc
diff --git a/content/renderer/media/webmediaplayer_impl.cc b/content/renderer/media/webmediaplayer_impl.cc
index 46e9a9198b506b504beb0eafa1fb6abc63fd7ec4..d254da46275b29078b668e431d80998353440400 100644
--- a/content/renderer/media/webmediaplayer_impl.cc
+++ b/content/renderer/media/webmediaplayer_impl.cc
@@ -172,9 +172,9 @@ WebMediaPlayerImpl::WebMediaPlayerImpl(
pipeline_.reset(new media::Pipeline(media_loop_, media_log_.get()));
// |gpu_factories_| requires that its entry points be called on its
- // |GetMessageLoop()|. Since |pipeline_| will own decoders created from the
+ // |GetTaskRunner()|. Since |pipeline_| will own decoders created from the
// factories, require that their message loops are identical.
- DCHECK(!gpu_factories_ || (gpu_factories_->GetMessageLoop() == media_loop_));
+ DCHECK(!gpu_factories_ || (gpu_factories_->GetTaskRunner() == media_loop_));
// Let V8 know we started new thread if we did not do it yet.
// Made separate task to avoid deletion of player currently being created.
« no previous file with comments | « content/renderer/media/rtc_video_encoder.cc ('k') | media/base/bind_to_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698