Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index ac7c0d37cd99063c46f89e42f75ce3c0fc0c52c1..ed604a9ab5143669fce7c47a72baf62a35675385 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -895,8 +895,6 @@ |
scoped_refptr<GpuChannelHost> gpu_channel_host = GetGpuChannel(); |
const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |
scoped_refptr<RendererGpuVideoAcceleratorFactories> gpu_factories; |
- scoped_refptr<base::MessageLoopProxy> media_loop_proxy = |
- GetMediaThreadMessageLoopProxy(); |
if (!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode)) { |
if (!gpu_va_context_provider_ || |
gpu_va_context_provider_->DestroyedOnMainThread()) { |
@@ -912,16 +910,11 @@ |
GURL("chrome://gpu/RenderThreadImpl::GetGpuVDAContext3D"), |
WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits())), |
"GPU-VideoAccelerator-Offscreen"); |
- media_loop_proxy->PostTask( |
- FROM_HERE, |
- base::Bind( |
- base::IgnoreResult(&cc::ContextProvider::BindToCurrentThread), |
- gpu_va_context_provider_)); |
} |
} |
if (gpu_channel_host) { |
gpu_factories = new RendererGpuVideoAcceleratorFactories( |
- gpu_channel_host, media_loop_proxy, gpu_va_context_provider_); |
+ gpu_channel_host.get(), gpu_va_context_provider_); |
} |
return gpu_factories; |
} |