| 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 acc25caa3fb3cfbb6a39828d98ff5fade68a5e1d..78e46d01e0a079d166ea27b1cbc347d121768d26 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| @@ -218,12 +218,29 @@ bool HTMLVideoElement::copyVideoTextureToPlatformTexture(
|
| if (!webMediaPlayer())
|
| return false;
|
|
|
| - DCHECK(Extensions3DUtil::canUseCopyTextureCHROMIUM(GL_TEXTURE_2D,
|
| - internalFormat, type, 0));
|
| 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())
|
| return false;
|
|
|