Index: Source/core/html/canvas/WebGLRenderingContextBase.cpp |
diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp |
index 4421c73dd1d4d76ae2fc177874310c8dcaa45a83..58d0103ba251f81066af58ea90fd373645e50232 100644 |
--- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp |
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp |
@@ -3589,7 +3589,7 @@ void WebGLRenderingContextBase::texImage2D(GLenum target, GLint level, GLenum in |
// Otherwise, it will fall back to the normal SW path. |
WebGLTexture* texture = validateTextureBinding("texImage2D", target, true); |
if (GL_TEXTURE_2D == target && texture) { |
- if (video->copyVideoTextureToPlatformTexture(webContext(), texture->object(), level, type, internalformat, m_unpackPremultiplyAlpha, m_unpackFlipY)) { |
+ if (video->copyVideoTextureToPlatformTexture(webContext(), texture->object(), level, internalformat, type, m_unpackPremultiplyAlpha, m_unpackFlipY)) { |
texture->setLevelInfo(target, level, internalformat, video->videoWidth(), video->videoHeight(), type); |
return; |
} |