aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrContextFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrContextFactory.cpp')
-rwxr-xr-xsrc/gpu/GrContextFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrContextFactory.cpp b/src/gpu/GrContextFactory.cpp
index b7e48254c8..bcf0c32cf5 100755
--- a/src/gpu/GrContextFactory.cpp
+++ b/src/gpu/GrContextFactory.cpp
@@ -143,7 +143,7 @@ GrContextFactory::ContextInfo GrContextFactory::getContextInfo(GLContextType typ
}
Context& context = fContexts.push_back();
- context.fGLContext = glCtx.detach();
+ context.fGLContext = glCtx.release();
context.fGrContext = SkRef(grCtx.get());
context.fType = type;
context.fOptions = options;