| Index: content/browser/renderer_host/render_widget_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
| index de65f0cab2706c712874cc34f3376e4c9b3a565f..ba5e3200a54e8cc9c1167287cf4d8e8f27c251fa 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -1914,6 +1914,21 @@ void RenderWidgetHostImpl::AcknowledgeSwapBuffersToRenderer() {
|
| Send(new ViewMsg_SwapBuffers_ACK(routing_id_));
|
| }
|
|
|
| +#if defined(USE_AURA)
|
| +// static
|
| +void RenderWidgetHostImpl::SendFrontSurfaceIsProtected(
|
| + bool is_protected,
|
| + uint32 protection_state_id,
|
| + int32 route_id,
|
| + int gpu_host_id) {
|
| + GpuProcessHostUIShim* ui_shim = GpuProcessHostUIShim::FromID(gpu_host_id);
|
| + if (ui_shim) {
|
| + ui_shim->Send(new AcceleratedSurfaceMsg_SetFrontSurfaceIsProtected(
|
| + route_id, is_protected, protection_state_id));
|
| + }
|
| +}
|
| +#endif
|
| +
|
| void RenderWidgetHostImpl::DelayedAutoResized() {
|
| gfx::Size new_size = new_auto_size_;
|
| // Clear the new_auto_size_ since the empty value is used as a flag to
|
|
|