| Index: content/common/gpu/gpu_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/gpu_video_decode_accelerator.cc b/content/common/gpu/gpu_video_decode_accelerator.cc
|
| index 35d0a0b0ec3c325d71e36ee943dafed3f33d0e5a..32eca29abb4c5e88e39af1f9934a97ee775fd99c 100644
|
| --- a/content/common/gpu/gpu_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/gpu_video_decode_accelerator.cc
|
| @@ -52,11 +52,9 @@ void GpuVideoDecodeAccelerator::OnChannelError() {
|
| }
|
|
|
| void GpuVideoDecodeAccelerator::ProvidePictureBuffers(
|
| - uint32 requested_num_of_buffers,
|
| - const gfx::Size& dimensions,
|
| - media::VideoDecodeAccelerator::MemoryType type) {
|
| + uint32 requested_num_of_buffers, const gfx::Size& dimensions) {
|
| if (!Send(new AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers(
|
| - route_id_, requested_num_of_buffers, dimensions, type))) {
|
| + route_id_, requested_num_of_buffers, dimensions))) {
|
| LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers) "
|
| << "failed";
|
| }
|
| @@ -80,9 +78,7 @@ void GpuVideoDecodeAccelerator::PictureReady(
|
| if (!Send(new AcceleratedVideoDecoderHostMsg_PictureReady(
|
| route_id_,
|
| picture.picture_buffer_id(),
|
| - picture.bitstream_buffer_id(),
|
| - picture.visible_size(),
|
| - picture.decoded_size()))) {
|
| + picture.bitstream_buffer_id()))) {
|
| LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_PictureReady) failed";
|
| }
|
| }
|
|
|