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 75b6a022ab3410f3a364dae00222bcfad2decd32..9a1eaddab7e6780ccc4e88219004153b5de513b5 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1391,6 +1391,7 @@ void RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwapped( |
if (!view_) { |
RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
gpu_process_host_id, |
+ false, |
0); |
return; |
} |
@@ -2128,10 +2129,11 @@ bool RenderWidgetHostImpl::GotResponseToLockMouseRequest(bool allowed) { |
// static |
void RenderWidgetHostImpl::AcknowledgeBufferPresent( |
- int32 route_id, int gpu_host_id, uint32 sync_point) { |
+ int32 route_id, int gpu_host_id, bool presented, uint32 sync_point) { |
GpuProcessHostUIShim* ui_shim = GpuProcessHostUIShim::FromID(gpu_host_id); |
if (ui_shim) |
ui_shim->Send(new AcceleratedSurfaceMsg_BufferPresented(route_id, |
+ presented, |
sync_point)); |
} |