summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/render_view_impl.cc')
-rw-r--r--content/renderer/render_view_impl.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index e66a7cd..5f1411c 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2588,9 +2588,8 @@ WebMediaPlayer* RenderViewImpl::createMediaPlayer(
RenderThreadImpl::current()->EstablishGpuChannelSync(
CAUSE_FOR_GPU_LAUNCH_VIDEODECODEACCELERATOR_INITIALIZE);
collection->GetVideoDecoders()->push_back(new media::GpuVideoDecoder(
- base::Bind(&media::MessageLoopFactory::GetMessageLoop,
- base::Unretained(message_loop_factory),
- media::MessageLoopFactory::kPipeline),
+ message_loop_factory->GetMessageLoop(
+ media::MessageLoopFactory::kPipeline),
factories_loop,
new RendererGpuVideoDecoderFactories(
gpu_channel_host, factories_loop, context3d)));