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 6a449ce880a8d581b2e8849a8de15be4b947709f..cb0c0094b27ca9999d0c7bcc08f7c62d2f931215 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1828,6 +1828,17 @@ void RenderWidgetHostImpl::AcknowledgePostSubBuffer(int32 route_id, |
ui_shim->Send(new AcceleratedSurfaceMsg_PostSubBufferACK(route_id)); |
} |
+#if defined(USE_AURA) |
+// static |
+void RenderWidgetHostImpl::SendFrontSurfaceIsProtected( |
+ bool is_protected, 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)); |
+} |
+#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 |