Index: media/blink/webmediaplayer_impl.cc |
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc |
index a105327d0635b16c4d2fdc937a2cb7a89c32fa91..4984e17154d80e7f904dc1f32dcbd07ada73a819 100644 |
--- a/media/blink/webmediaplayer_impl.cc |
+++ b/media/blink/webmediaplayer_impl.cc |
@@ -881,8 +881,6 @@ size_t WebMediaPlayerImpl::videoDecodedByteCount() const { |
bool WebMediaPlayerImpl::copyVideoTextureToPlatformTexture( |
gpu::gles2::GLES2Interface* gl, |
unsigned int texture, |
- unsigned int internal_format, |
- unsigned int type, |
bool premultiply_alpha, |
bool flip_y) { |
DCHECK(main_task_runner_->BelongsToCurrentThread()); |
@@ -903,8 +901,7 @@ bool WebMediaPlayerImpl::copyVideoTextureToPlatformTexture( |
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, type, |
- premultiply_alpha, flip_y); |
+ context_3d, gl, video_frame.get(), texture, premultiply_alpha, flip_y); |
} |
void WebMediaPlayerImpl::setContentDecryptionModule( |