| Index: content/browser/renderer_host/render_widget_host.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc
|
| index 6da29abb3dc9702258b3495994a250367dc04e90..1eeb8e8230bbf1acd197db9f97185628b69658b6 100644
|
| --- a/content/browser/renderer_host/render_widget_host.cc
|
| +++ b/content/browser/renderer_host/render_widget_host.cc
|
| @@ -1479,9 +1479,18 @@ bool RenderWidgetHost::GotResponseToLockMouseRequest(bool allowed) {
|
| }
|
|
|
| #if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
|
| +// static
|
| void RenderWidgetHost::AcknowledgeSwapBuffers(int32 route_id, int gpu_host_id) {
|
| GpuProcessHostUIShim* ui_shim = GpuProcessHostUIShim::FromID(gpu_host_id);
|
| if (ui_shim)
|
| ui_shim->Send(new AcceleratedSurfaceMsg_BuffersSwappedACK(route_id));
|
| }
|
| +
|
| +// static
|
| +void RenderWidgetHost::AcknowledgePostSubBuffer(int32 route_id,
|
| + int gpu_host_id) {
|
| + GpuProcessHostUIShim* ui_shim = GpuProcessHostUIShim::FromID(gpu_host_id);
|
| + if (ui_shim)
|
| + ui_shim->Send(new AcceleratedSurfaceMsg_PostSubBufferACK(route_id));
|
| +}
|
| #endif
|
|
|