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 4237e4950f938a2fc6a041c279935c444cdadf11..1d19b16126fd09993fb59246a6ba318db214df2f 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc |
@@ -322,10 +322,6 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceBuffersSwapped( |
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) |
@@ -354,10 +350,6 @@ void GpuProcessHostUIShim::OnAcceleratedSurfacePostSubBuffer( |
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) |