Index: src/gpu/gl/SkGLContext.cpp |
diff --git a/src/gpu/gl/SkGLContext.cpp b/src/gpu/gl/SkGLContext.cpp |
index 01f827c8fa0ee0572c1e28fdac0f7732df5795ce..ebe50328279b17c9e9d70ef7a498084ed6b858aa 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 { |