diff options
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_impl.cc')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_impl.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc index 586785a..9f064f2 100644 --- a/content/browser/renderer_host/render_widget_host_impl.cc +++ b/content/browser/renderer_host/render_widget_host_impl.cc @@ -359,6 +359,12 @@ gfx::GLSurfaceHandle RenderWidgetHostImpl::GetCompositingSurface() { return gfx::GLSurfaceHandle(); } +void RenderWidgetHostImpl::CompositingSurfaceUpdated() { + GpuSurfaceTracker::Get()->SetSurfaceHandle( + surface_id_, GetCompositingSurface()); + process_->SurfaceUpdated(surface_id_); +} + void RenderWidgetHostImpl::ResetSizeAndRepaintPendingFlags() { resize_ack_pending_ = false; if (repaint_ack_pending_) { |