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

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

Issue 10855051: Use enum instead of string in MessageLoopFactory::GetMessageLoop* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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 | « no previous file | content/renderer/media/renderer_gpu_video_decoder_factories.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_impl.cc
diff --git a/content/renderer/media/media_stream_impl.cc b/content/renderer/media/media_stream_impl.cc
index b68d34d2a4ecc375730cbc1efdef9117d22b74c4..aac798b5bb7492a5f86fabde5ad2e1917f72005d 100644
--- a/content/renderer/media/media_stream_impl.cc
+++ b/content/renderer/media/media_stream_impl.cc
@@ -486,7 +486,8 @@ scoped_refptr<media::VideoDecoder> MediaStreamImpl::CreateLocalVideoDecoder(
<< video_session_id;
return new CaptureVideoDecoder(
- message_loop_factory->GetMessageLoopProxy("CaptureVideoDecoderThread"),
+ message_loop_factory->GetMessageLoop(
+ media::MessageLoopFactory::kVideoDecoder),
video_session_id,
vc_manager_.get(),
capability);
@@ -502,7 +503,8 @@ scoped_refptr<media::VideoDecoder> MediaStreamImpl::CreateRemoteVideoDecoder(
<< stream->label();
return new RTCVideoDecoder(
- message_loop_factory->GetMessageLoopProxy("RtcVideoDecoderThread"),
+ message_loop_factory->GetMessageLoop(
+ media::MessageLoopFactory::kVideoDecoder),
base::MessageLoopProxy::current(),
stream->video_tracks()->at(0));
}
« no previous file with comments | « no previous file | content/renderer/media/renderer_gpu_video_decoder_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698