Index: content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
index a7844678001fe513535d9ac6d3266bdafe0c2bab..dc597437d56da1ecbb0e4d00f55964e4d39df0c9 100644 |
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
@@ -233,11 +233,13 @@ void GpuVideoDecodeAcceleratorHost::OnDismissPictureBuffer( |
void GpuVideoDecodeAcceleratorHost::OnPictureReady( |
int32 picture_buffer_id, |
int32 bitstream_buffer_id, |
- const gfx::Rect& visible_rect) { |
+ const gfx::Rect& visible_rect, |
+ bool allow_overlay) { |
DCHECK(CalledOnValidThread()); |
if (!client_) |
return; |
media::Picture picture(picture_buffer_id, bitstream_buffer_id, visible_rect); |
+ picture.set_allow_overlay(allow_overlay); |
client_->PictureReady(picture); |
} |