Index: content/common/gpu/image_transport_surface_android.cc |
=================================================================== |
--- content/common/gpu/image_transport_surface_android.cc (revision 171661) |
+++ content/common/gpu/image_transport_surface_android.cc (working copy) |
@@ -18,6 +18,7 @@ |
const gfx::GLSurfaceHandle& handle) { |
scoped_refptr<gfx::GLSurface> surface; |
if (!handle.handle && handle.transport) { |
+ DCHECK(handle.parent_client_id); |
surface = new TextureImageTransportSurface(manager, stub, handle); |
} else if (handle.handle == gfx::kDummyPluginWindow && !handle.transport) { |
DCHECK(GpuSurfaceLookup::GetInstance()); |