Index: src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp |
diff --git a/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp b/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp |
index 6cc11439bf9153b82df924d8534c83c6eed960c0..da13ee739ea825431457fed9056fceb2246af894 100644 |
--- a/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp |
+++ b/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp |
@@ -127,7 +127,7 @@ WinGLContext::WinGLContext(GrGLStandard forcedGpuAPI) |
return; |
} |
- this->init(gl.detach()); |
+ this->init(gl.release()); |
} |
WinGLContext::~WinGLContext() { |