| Index: content/common/gpu/image_transport_surface_x11.cc
|
| diff --git a/content/common/gpu/image_transport_surface_x11.cc b/content/common/gpu/image_transport_surface_x11.cc
|
| index 86d78d21459da2391438ce45a20fd59562c6f8eb..b6aca42af7a0b0c6dddb7eaf8232b3c6a4996b43 100644
|
| --- a/content/common/gpu/image_transport_surface_x11.cc
|
| +++ b/content/common/gpu/image_transport_surface_x11.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.get())
|
| + if (!surface)
|
| return surface;
|
| return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface(
|
| manager, stub, surface.get(), handle.is_transport()));
|
|
|