Index: content/common/gpu/image_transport_surface_mac.cc |
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc |
index dbd2182ee120332f6f1750c59e8e6ab17bade4ef..4aebcf2bbf2b4e97f08eca1005a5602555367149 100644 |
--- a/content/common/gpu/image_transport_surface_mac.cc |
+++ b/content/common/gpu/image_transport_surface_mac.cc |
@@ -515,7 +515,8 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( |
GpuChannelManager* manager, |
GpuCommandBufferStub* stub, |
const gfx::GLSurfaceHandle& surface_handle) { |
- DCHECK(surface_handle.transport_type == gfx::NATIVE_TRANSPORT); |
+ DCHECK(surface_handle.transport_type == gfx::NATIVE_DIRECT || |
+ surface_handle.transport_type == gfx::NATIVE_TRANSPORT); |
IOSurfaceSupport* io_surface_support = IOSurfaceSupport::Initialize(); |
switch (gfx::GetGLImplementation()) { |