| Index: content/browser/gpu/gpu_process_host_ui_shim.cc
|
| diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| index 93aa1e5c96158568b249c44c7ca0f7f74a8bb773..c4a1347fc607226897d5f8efbce56cd69eb0e1d4 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| @@ -303,7 +303,8 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceNew(
|
| if (!view)
|
| return;
|
| view->AcceleratedSurfaceNew(
|
| - params.width, params.height, params.surface_handle);
|
| + params.width, params.height, params.surface_handle,
|
| + params.mailbox_name);
|
| }
|
|
|
| static base::TimeDelta GetSwapDelay() {
|
| @@ -323,7 +324,9 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceBuffersSwapped(
|
|
|
| ScopedSendOnIOThread delayed_send(
|
| host_id_,
|
| - new AcceleratedSurfaceMsg_BufferPresented(params.route_id, false, 0));
|
| + new AcceleratedSurfaceMsg_BufferPresented(params.route_id,
|
| + params.surface_handle,
|
| + 0));
|
|
|
| RenderWidgetHostViewPort* view = GetRenderWidgetHostViewFromSurfaceID(
|
| params.surface_id);
|
| @@ -347,7 +350,9 @@ void GpuProcessHostUIShim::OnAcceleratedSurfacePostSubBuffer(
|
|
|
| ScopedSendOnIOThread delayed_send(
|
| host_id_,
|
| - new AcceleratedSurfaceMsg_BufferPresented(params.route_id, false, 0));
|
| + new AcceleratedSurfaceMsg_BufferPresented(params.route_id,
|
| + params.surface_handle,
|
| + 0));
|
|
|
| RenderWidgetHostViewPort* view =
|
| GetRenderWidgetHostViewFromSurfaceID(params.surface_id);
|
|
|