| 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 4d46484991a5294a3f12bad95dcbec3050d808cc..ec62dff46bc8869821cf3ea9355d209fe2a5f0e7 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| @@ -288,17 +288,13 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceBuffersSwapped(
|
| "GpuHostMsg_AcceleratedSurfaceBuffersSwapped"))
|
| return;
|
| AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
|
| - ack_params.mailbox_name = params.mailbox_name;
|
| + ack_params.mailbox = params.mailbox;
|
| ack_params.sync_point = 0;
|
| ScopedSendOnIOThread delayed_send(
|
| host_id_,
|
| new AcceleratedSurfaceMsg_BufferPresented(params.route_id,
|
| ack_params));
|
|
|
| - if (!params.mailbox_name.empty() &&
|
| - params.mailbox_name.length() != GL_MAILBOX_SIZE_CHROMIUM)
|
| - return;
|
| -
|
| RenderWidgetHostViewPort* view = GetRenderWidgetHostViewFromSurfaceID(
|
| params.surface_id);
|
| if (!view)
|
| @@ -338,17 +334,13 @@ void GpuProcessHostUIShim::OnAcceleratedSurfacePostSubBuffer(
|
| "GpuHostMsg_AcceleratedSurfacePostSubBuffer"))
|
| return;
|
| AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
|
| - ack_params.mailbox_name = params.mailbox_name;
|
| + ack_params.mailbox = params.mailbox;
|
| ack_params.sync_point = 0;
|
| ScopedSendOnIOThread delayed_send(
|
| host_id_,
|
| new AcceleratedSurfaceMsg_BufferPresented(params.route_id,
|
| ack_params));
|
|
|
| - if (!params.mailbox_name.empty() &&
|
| - params.mailbox_name.length() != GL_MAILBOX_SIZE_CHROMIUM)
|
| - return;
|
| -
|
| RenderWidgetHostViewPort* view =
|
| GetRenderWidgetHostViewFromSurfaceID(params.surface_id);
|
| if (!view)
|
|
|