| Index: content/browser/gpu/gpu_process_host_ui_shim.cc
|
| ===================================================================
|
| --- content/browser/gpu/gpu_process_host_ui_shim.cc (revision 186756)
|
| +++ content/browser/gpu/gpu_process_host_ui_shim.cc (working copy)
|
| @@ -322,6 +322,10 @@
|
| 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)
|
| @@ -350,6 +354,10 @@
|
| 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)
|
|
|