summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_thread_impl.h
diff options
context:
space:
mode:
authorsheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 18:05:07 +0000
committersheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 18:05:07 +0000
commitc50edb9626d82e6637453ebe938b6f967898e816 (patch)
tree2545d7c4477bdf8b370e8d3bdeb81e753a795c2c /content/renderer/render_thread_impl.h
parent7d668551c47c697f1214118e34ca7634f18c3701 (diff)
downloadchromium_src-c50edb9626d82e6637453ebe938b6f967898e816.zip
chromium_src-c50edb9626d82e6637453ebe938b6f967898e816.tar.gz
chromium_src-c50edb9626d82e6637453ebe938b6f967898e816.tar.bz2
Remove message loop parameter from RenderThreadImpl::GetGpuFactories()
RenderThreadImpl::GetGpuFactories() makes the assumption that all the GpuVideoAcceleratorFactories retrieved from it can use the same 3D context. This is only true if all the factories use the same message loop for the 3D context. Ensure this by unconditionally using RenderThreadImpl::GetMediaThreadMessageLoopProxy() for that message loop. This change should be a functional no-op according to the current architecture. BUG=306333 TEST=local build, run on CrOS snow, build on desktop Linux Review URL: https://codereview.chromium.org/27019011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_thread_impl.h')
-rw-r--r--content/renderer/render_thread_impl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index f8cec0d..b2e7e9b 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -263,9 +263,7 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// not sent for at least one notification delay.
void PostponeIdleNotification();
- // Gets gpu factories, which will run on |factories_loop|.
- scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories(
- const scoped_refptr<base::MessageLoopProxy>& factories_loop);
+ scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories();
scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider();
scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider();