| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| index 3982dddc41d4fd2a2963f8324dfcbaff0c419407..5d07622ba0d98215276841679f3214778805ac83 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| @@ -5336,8 +5336,9 @@ void WebGLRenderingContextBase::texImageHelperHTMLVideoElement(
|
| this, m_unpackFlipY || m_unpackPremultiplyAlpha);
|
| if (video->texImageImpl(
|
| static_cast<WebMediaPlayer::TexImageFunctionID>(functionID), target,
|
| - contextGL(), level, convertTexInternalFormat(internalformat, type),
|
| - format, type, xoffset, yoffset, zoffset, m_unpackFlipY,
|
| + contextGL(), texture->object(), level,
|
| + convertTexInternalFormat(internalformat, type), format, type,
|
| + xoffset, yoffset, zoffset, m_unpackFlipY,
|
| m_unpackPremultiplyAlpha &&
|
| m_unpackColorspaceConversion == GL_NONE)) {
|
| texture->updateLastUploadedVideo(video->webMediaPlayer());
|
|
|