| Index: content/common/gpu/image_transport_surface.cc
|
| diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc
|
| index 7e49b9ff86254fb4aa27de1d16521b6077e3286f..4ab12d459c2974af2834dba57ab8a7e847dd9622 100644
|
| --- a/content/common/gpu/image_transport_surface.cc
|
| +++ b/content/common/gpu/image_transport_surface.cc
|
| @@ -21,6 +21,10 @@ ImageTransportSurface::ImageTransportSurface() {}
|
|
|
| ImageTransportSurface::~ImageTransportSurface() {}
|
|
|
| +void ImageTransportSurface::OnSetFrontSurfaceIsProtected(
|
| + bool is_protected, uint32 protection_state_id) {
|
| +}
|
| +
|
| void ImageTransportSurface::GetRegionsToCopy(
|
| const gfx::Rect& previous_damage_rect,
|
| const gfx::Rect& new_damage_rect,
|
| @@ -96,6 +100,8 @@ bool ImageTransportHelper::OnMessageReceived(const IPC::Message& message) {
|
| OnPostSubBufferACK)
|
| IPC_MESSAGE_HANDLER(AcceleratedSurfaceMsg_NewACK,
|
| OnNewSurfaceACK)
|
| + IPC_MESSAGE_HANDLER(AcceleratedSurfaceMsg_SetFrontSurfaceIsProtected,
|
| + OnSetFrontSurfaceIsProtected)
|
| IPC_MESSAGE_HANDLER(AcceleratedSurfaceMsg_ResizeViewACK, OnResizeViewACK);
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| @@ -201,6 +207,11 @@ void ImageTransportHelper::OnNewSurfaceACK(
|
| surface_->OnNewSurfaceACK(surface_handle, shm_handle);
|
| }
|
|
|
| +void ImageTransportHelper::OnSetFrontSurfaceIsProtected(
|
| + bool is_protected, uint32 protection_state_id) {
|
| + surface_->OnSetFrontSurfaceIsProtected(is_protected, protection_state_id);
|
| +}
|
| +
|
| void ImageTransportHelper::OnBuffersSwappedACK() {
|
| surface_->OnBuffersSwappedACK();
|
| }
|
|
|