summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/image_transport_surface_mac.cc
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 22:51:50 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 22:51:50 +0000
commite66f0263e6f8333d9310bb595af5b912360a65c3 (patch)
tree71667742fc12aab9b840c27a1730f34f5acb456e /content/common/gpu/image_transport_surface_mac.cc
parentae6ef14fe8d5c5df694efc7e09bcf86e4747d7ad (diff)
downloadchromium_src-e66f0263e6f8333d9310bb595af5b912360a65c3.zip
chromium_src-e66f0263e6f8333d9310bb595af5b912360a65c3.tar.gz
chromium_src-e66f0263e6f8333d9310bb595af5b912360a65c3.tar.bz2
Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*"
OS X fixes and post-Linux cleanup BUG=110610 TBR=darin Review URL: https://codereview.chromium.org/16402003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/image_transport_surface_mac.cc')
-rw-r--r--content/common/gpu/image_transport_surface_mac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc
index 00bc86c..ceb6964 100644
--- a/content/common/gpu/image_transport_surface_mac.cc
+++ b/content/common/gpu/image_transport_surface_mac.cc
@@ -495,7 +495,7 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface(
return scoped_refptr<gfx::GLSurface>();
}
scoped_refptr<gfx::GLSurface> surface(new DRTSurfaceOSMesa());
- if (!surface || !surface->Initialize())
+ if (!surface.get() || !surface->Initialize())
return surface;
return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface(
manager, stub, surface.get(), false));