diff options
Diffstat (limited to 'src/gpu/gl/SkGLContext.cpp')
-rw-r--r-- | src/gpu/gl/SkGLContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/SkGLContext.cpp b/src/gpu/gl/SkGLContext.cpp index 01f827c8fa..ebe5032827 100644 --- a/src/gpu/gl/SkGLContext.cpp +++ b/src/gpu/gl/SkGLContext.cpp @@ -140,7 +140,7 @@ SkGLContext::GLFenceSync* SkGLContext::GLFenceSync::CreateIfSupported(const SkGL return nullptr; } - return ret.detach(); + return ret.release(); } SkPlatformGpuFence SkGLContext::GLFenceSync::insertFence() const { |