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 da53bd1258ddba8fb3dbfcd00c42a32456ec0730..28d6f2f5bed0b65c66451f99d7b1391f2fbaa97d 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
@@ -5261,8 +5261,8 @@ void WebGLRenderingContextBase::TexImageHelperHTMLVideoElement( |
// SW path. |
if (video->CopyVideoTextureToPlatformTexture( |
- ContextGL(), texture->Object(), internalformat, format, type, |
- unpack_premultiply_alpha_, unpack_flip_y_)) { |
+ ContextGL(), target, texture->Object(), internalformat, format, |
+ type, level, unpack_premultiply_alpha_, unpack_flip_y_)) { |
texture->UpdateLastUploadedVideo(video->GetWebMediaPlayer()); |
return; |
} |