Index: src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
diff --git a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
index d1826a49e3eab379fbb3d48e7a860a27d1ff4fdd..c6eb34b8df60164e4dc7236130d2c5c4b14db5a0 100644 |
--- a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
+++ b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
@@ -77,7 +77,7 @@ MacGLContext::MacGLContext() |
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib", |
RTLD_LAZY); |
- this->init(gl.detach()); |
+ this->init(gl.release()); |
} |
MacGLContext::~MacGLContext() { |