Index: src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp |
diff --git a/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp b/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp |
index cf9da9365b195a43775305e8f0f98d08d3511eef..b14debda57c1c06aaec25fbf60ac1bc0ce6b2726 100644 |
--- a/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp |
+++ b/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp |
@@ -259,7 +259,7 @@ void SkCommandBufferGLContext::initializeGLContext(void* nativeWindow, const int |
return; |
} |
- this->init(gl.detach()); |
+ this->init(gl.release()); |
} |
SkCommandBufferGLContext::~SkCommandBufferGLContext() { |