| Index: media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
|
| diff --git a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
|
| index e19d347aad0e62accc08b3a9aedd7d5ec0ba3660..630b13ccb07c8594ff68510be9849b272dfb7568 100644
|
| --- a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
|
| +++ b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
|
| @@ -239,17 +239,14 @@ void GpuVideoDecodeAcceleratorHost::OnDismissPictureBuffer(
|
| }
|
|
|
| void GpuVideoDecodeAcceleratorHost::OnPictureReady(
|
| - int32_t picture_buffer_id,
|
| - int32_t bitstream_buffer_id,
|
| - const gfx::Rect& visible_rect,
|
| - bool allow_overlay,
|
| - bool size_changed) {
|
| + const AcceleratedVideoDecoderHostMsg_PictureReady_Params& params) {
|
| DCHECK(CalledOnValidThread());
|
| if (!client_)
|
| return;
|
| - Picture picture(picture_buffer_id, bitstream_buffer_id, visible_rect,
|
| - allow_overlay);
|
| - picture.set_size_changed(size_changed);
|
| + Picture picture(params.picture_buffer_id, params.bitstream_buffer_id,
|
| + params.visible_rect, params.color_space,
|
| + params.allow_overlay);
|
| + picture.set_size_changed(params.size_changed);
|
| client_->PictureReady(picture);
|
| }
|
|
|
|
|