Index: src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm |
diff --git a/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm b/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm |
index 5be351f52e8414494954bab11cbba3edcd7f33ee..54dc59af03462989f79973111b644132eb96c6ba 100644 |
--- a/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm |
+++ b/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm |
@@ -53,7 +53,7 @@ IOSGLContext::IOSGLContext() |
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib", |
RTLD_LAZY); |
- this->init(gl.detach()); |
+ this->init(gl.release()); |
} |
IOSGLContext::~IOSGLContext() { |