| 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 af78208009f2180a735cba43faf18a7f9d1000df..d4dad0839ce8a03ff80a43ebd5f5593001bf40cc 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| @@ -310,13 +310,17 @@ void HTMLVideoElement::paintCurrentFrame(PaintCanvas* canvas,
|
| bool HTMLVideoElement::copyVideoTextureToPlatformTexture(
|
| gpu::gles2::GLES2Interface* gl,
|
| GLuint texture,
|
| + GLenum internalFormat,
|
| + GLenum type,
|
| bool premultiplyAlpha,
|
| bool flipY) {
|
| if (!webMediaPlayer())
|
| return false;
|
|
|
| + DCHECK(Extensions3DUtil::canUseCopyTextureCHROMIUM(GL_TEXTURE_2D,
|
| + internalFormat, type, 0));
|
| return webMediaPlayer()->copyVideoTextureToPlatformTexture(
|
| - gl, texture, premultiplyAlpha, flipY);
|
| + gl, texture, internalFormat, type, premultiplyAlpha, flipY);
|
| }
|
|
|
| bool HTMLVideoElement::texImageImpl(
|
|
|