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