Index: media/blink/webmediaplayer_impl.cc |
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc |
index 7c10f9fe3981b98b65561a2e49d7f3a4fe8f9ca8..366ada9eddc7407a641a1b1dc0c809181f4426dc 100644 |
--- a/media/blink/webmediaplayer_impl.cc |
+++ b/media/blink/webmediaplayer_impl.cc |
@@ -943,9 +943,6 @@ |
bool WebMediaPlayerImpl::CopyVideoTextureToPlatformTexture( |
gpu::gles2::GLES2Interface* gl, |
unsigned int texture, |
- unsigned internal_format, |
- unsigned format, |
- unsigned type, |
bool premultiply_alpha, |
bool flip_y) { |
DCHECK(main_task_runner_->BelongsToCurrentThread()); |
@@ -966,8 +963,7 @@ |
if (!context_3d_cb_.is_null()) |
context_3d = context_3d_cb_.Run(); |
return skcanvas_video_renderer_.CopyVideoFrameTexturesToGLTexture( |
- context_3d, gl, video_frame.get(), texture, internal_format, format, type, |
- premultiply_alpha, flip_y); |
+ context_3d, gl, video_frame.get(), texture, premultiply_alpha, flip_y); |
} |
void WebMediaPlayerImpl::SetContentDecryptionModule( |