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 4e1a26e22d856cceb5e3ce3b67916020c1e4f868..1fa06e68972dc5594854cb180b23225d5e49e7f9 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc |
@@ -321,10 +321,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) |
@@ -353,10 +349,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) |