Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
index 04ae3c0f4c4b88d04dc13ea5d87e69732cfcd376..cf8353819d1e54db352cd394e733faf5414039a8 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
@@ -217,6 +217,13 @@ bool HTMLVideoElement::copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interf |
return webMediaPlayer()->copyVideoTextureToPlatformTexture(gl, texture, internalFormat, type, premultiplyAlpha, flipY); |
} |
+bool HTMLVideoElement::texImageImpl(const char* functionID, GLenum target, gpu::gles2::GLES2Interface* gl, GLint level, GLint internalformat, GLenum format, GLenum type, GLint xoffset, GLint yoffset, GLint zoffset, bool flipY, bool premultiplyAlpha) |
+{ |
+ if (!webMediaPlayer()) |
+ return false; |
+ return webMediaPlayer()->texImageImpl(functionID, target, gl, level, internalformat, format, type, xoffset, yoffset, zoffset, flipY, premultiplyAlpha); |
+} |
+ |
bool HTMLVideoElement::hasAvailableVideoFrame() const |
{ |
if (!webMediaPlayer()) |