| Index: content/renderer/media/android/stream_texture_factory_android_impl.h
|
| diff --git a/content/renderer/media/android/stream_texture_factory_android_impl.h b/content/renderer/media/android/stream_texture_factory_android_impl.h
|
| index 0cd3d5866c94bf7a5a000dcdb132501977f4c97a..c73a984e3834fe1e21ed7ee3797e659c2aaf3599 100644
|
| --- a/content/renderer/media/android/stream_texture_factory_android_impl.h
|
| +++ b/content/renderer/media/android/stream_texture_factory_android_impl.h
|
| @@ -7,9 +7,12 @@
|
|
|
| #include "content/renderer/media/android/stream_texture_factory_android.h"
|
|
|
| -namespace blink {
|
| -class WebGraphicsContext3D;
|
| -}
|
| +namespace gpu {
|
| +namespace gles2 {
|
| +class GLES2Interface;
|
| +} // namespace gles2
|
| +} // namespace gpu
|
| +
|
|
|
| namespace content {
|
|
|
| @@ -17,7 +20,7 @@ class GpuChannelHost;
|
|
|
| class StreamTextureFactoryImpl : public StreamTextureFactory {
|
| public:
|
| - StreamTextureFactoryImpl(blink::WebGraphicsContext3D* context,
|
| + StreamTextureFactoryImpl(gpu::gles2::GLES2Interface* gl,
|
| GpuChannelHost* channel,
|
| int view_id);
|
| virtual ~StreamTextureFactoryImpl();
|
| @@ -33,10 +36,10 @@ class StreamTextureFactoryImpl : public StreamTextureFactory {
|
| virtual void DestroyStreamTexture(unsigned texture_id) OVERRIDE;
|
| virtual void SetStreamTextureSize(int32 texture_id,
|
| const gfx::Size& size) OVERRIDE;
|
| - virtual blink::WebGraphicsContext3D* Context3d() OVERRIDE;
|
| + virtual gpu::gles2::GLES2Interface* ContextGL() OVERRIDE;
|
|
|
| private:
|
| - blink::WebGraphicsContext3D* context_;
|
| + gpu::gles2::GLES2Interface* gl_;
|
| scoped_refptr<GpuChannelHost> channel_;
|
| int view_id_;
|
|
|
|
|