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>2014-02-28 02:03:21 +0000
committersheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 02:03:21 +0000
commit2329bfc7e24312230f78f7e37eab11596f3ab243 (patch)
treefb5c38fbded2e226aaaf35abc1b423ab7f998396 /content/renderer/render_thread_impl.h
parent5eb3ef873ed5dad2f515c1ce3e3f417dc2e4c26f (diff)
downloadchromium_src-2329bfc7e24312230f78f7e37eab11596f3ab243.zip
chromium_src-2329bfc7e24312230f78f7e37eab11596f3ab243.tar.gz
chromium_src-2329bfc7e24312230f78f7e37eab11596f3ab243.tar.bz2
Move ContextProvider binding to inside GpuVideoAcceleratorFactory
Bind the ContextProvider inside the GpuVideoAcceleratorFactory itself, so the Factory can decide appropriately what to do in casae of binding failure. Also: replace references to RendererGpuVideoAcceleratorFactory with references to its superclass, GpuVideoAcceleratorFactory. BUG=345424 TEST=local run, build on CrOS snow, desktop Linux TBR=avi Review URL: https://codereview.chromium.org/176963020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254014 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, 2 insertions, 2 deletions
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 08f1663..a613484 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -20,7 +20,6 @@
#include "content/common/content_export.h"
#include "content/common/gpu/client/gpu_channel_host.h"
#include "content/public/renderer/render_thread.h"
-#include "content/renderer/media/renderer_gpu_video_accelerator_factories.h"
#include "ipc/ipc_channel_proxy.h"
#include "ui/gfx/native_widget_types.h"
@@ -54,6 +53,7 @@ class ForwardingMessageFilter;
namespace media {
class AudioHardwareConfig;
+class GpuVideoAcceleratorFactories;
}
namespace v8 {
@@ -264,7 +264,7 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// not sent for at least one notification delay.
void PostponeIdleNotification();
- scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories();
+ scoped_refptr<media::GpuVideoAcceleratorFactories> GetGpuFactories();
scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider();
scoped_refptr<webkit::gpu::ContextProviderWebContext>