Index: content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h |
diff --git a/content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h b/content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h |
index 51c77e5666eaadcf7a61b4089f489575e11fa4a2..289d86c76da11290162c2f6e51d184664fea0434 100644 |
--- a/content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h |
+++ b/content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h |
@@ -13,9 +13,11 @@ namespace gfx { |
class SurfaceTexture; |
} |
-namespace blink { |
-class WebGraphicsContext3D; |
-} |
+namespace gpu { |
+namespace gles2 { |
+class GLES2Interface; |
+} // namespace gles2 |
+} // namespace gpu |
namespace content { |
@@ -27,7 +29,7 @@ class StreamTextureFactorySynchronousImpl : public StreamTextureFactory { |
virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture( |
uint32 stream_id) = 0; |
- virtual blink::WebGraphicsContext3D* Context3d() = 0; |
+ virtual gpu::gles2::GLES2Interface* ContextGL() = 0; |
protected: |
friend class base::RefCountedThreadSafe<ContextProvider>; |
@@ -52,7 +54,7 @@ class StreamTextureFactorySynchronousImpl : public StreamTextureFactory { |
virtual void DestroyStreamTexture(unsigned texture_id) OVERRIDE; |
virtual void SetStreamTextureSize(int32 stream_id, |
const gfx::Size& size) OVERRIDE; |
- virtual blink::WebGraphicsContext3D* Context3d() OVERRIDE; |
+ virtual gpu::gles2::GLES2Interface* ContextGL() OVERRIDE; |
private: |
CreateContextProviderCallback create_context_provider_callback_; |