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..72543000511739e3f56eabb91e4115d923cd2aa6 100644 |
--- a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc |
+++ b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc |
@@ -242,14 +242,14 @@ 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 gfx::ColorSpace& color_space, |
+ const std::pair<bool, bool>& allow_overlay_and_size_changed) { |
DCHECK(CalledOnValidThread()); |
if (!client_) |
return; |
Picture picture(picture_buffer_id, bitstream_buffer_id, visible_rect, |
- allow_overlay); |
- picture.set_size_changed(size_changed); |
+ color_space, allow_overlay_and_size_changed.first); |
+ picture.set_size_changed(allow_overlay_and_size_changed.second); |
client_->PictureReady(picture); |
} |