aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm')
-rw-r--r--tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm b/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm
index f2bcd5d402..4c1aa0119d 100644
--- a/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm
+++ b/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm
@@ -37,7 +37,7 @@ IOSGLTestContext::IOSGLTestContext()
fEAGLContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
[EAGLContext setCurrentContext:EAGLCTX];
- SkAutoTUnref<const GrGLInterface> gl(GrGLCreateNativeInterface());
+ sk_sp<const GrGLInterface> gl(GrGLCreateNativeInterface());
if (NULL == gl.get()) {
SkDebugf("Failed to create gl interface");
this->destroyGLContext();