Index: content/common/gpu/image_transport_surface_linux.cc |
diff --git a/content/common/gpu/image_transport_surface_linux.cc b/content/common/gpu/image_transport_surface_linux.cc |
index f8f95dbc37e59cd43fc63764fce72478b150b0a8..c6e5930a1908c96331301f30117ec2c6e0fdfedd 100644 |
--- a/content/common/gpu/image_transport_surface_linux.cc |
+++ b/content/common/gpu/image_transport_surface_linux.cc |
@@ -16,7 +16,7 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( |
handle.transport_type == gfx::NATIVE_TRANSPORT); |
scoped_refptr<gfx::GLSurface> surface = |
gfx::GLSurface::CreateViewGLSurface(false, handle.handle); |
- if (!surface) |
+ if (!surface.get()) |
return surface; |
return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface( |
manager, stub, surface.get(), handle.is_transport())); |