| Index: content/renderer/media/android/webmediaplayer_android.cc
|
| diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
|
| index 8bbb6b301450f0ffe4c0940d75c5f0d82a79182b..c913c4e7b82c51a90819765a55325cbde96b7f02 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.cc
|
| +++ b/content/renderer/media/android/webmediaplayer_android.cc
|
| @@ -612,9 +612,8 @@ bool WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture(
|
| // Make sure to only copy the natural size to avoid putting garbage
|
| // into the bottom of the destination texture.
|
| const gfx::Size& natural_size = video_frame->natural_size();
|
| - gl->CopySubTextureCHROMIUM(src_texture, 0, texture, 0,
|
| - 0, 0, 0, 0,
|
| - natural_size.width(), natural_size.height(),
|
| + gl->CopySubTextureCHROMIUM(src_texture, 0, GL_TEXTURE_2D, texture, 0, 0, 0, 0,
|
| + 0, natural_size.width(), natural_size.height(),
|
| flip_y, premultiply_alpha, false);
|
| gl->DeleteTextures(1, &src_texture);
|
| gl->Flush();
|
|
|