Index: third_party/WebKit/Source/core/html/HTMLVideoElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.h b/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
index 5899174d3078c9a3bbdceebd16e1237ab270b497..64e664d313417528afc9311a8c2fcb79d1819bf2 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
@@ -35,8 +35,13 @@ |
class SkPaint; |
+namespace gpu { |
+namespace gles2 { |
+class GLES2Interface; |
+} |
+} |
+ |
namespace blink { |
-class WebGraphicsContext3D; |
class ExceptionState; |
class GraphicsContext; |
class ImageBitmapOptions; |
@@ -71,7 +76,7 @@ public: |
void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const; |
// Used by WebGL to do GPU-GPU textures copy if possible. |
- bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObject texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flipY); |
+ bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, Platform3DObject texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flipY); |
bool shouldDisplayPosterImage() const { return getDisplayMode() == Poster; } |