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 d9b535d7ad42cf252b18ac9926592890bd77510c..d3ecebef889b445e5d2f0daace577edf00be5edf 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
@@ -211,17 +211,13 @@ void HTMLVideoElement::paintCurrentFrame(SkCanvas* 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, internalFormat, type, premultiplyAlpha, flipY); |
+ gl, texture, premultiplyAlpha, flipY); |
} |
bool HTMLVideoElement::texImageImpl( |