diff options
Diffstat (limited to 'src/gpu/GrContextFactory.cpp')
-rwxr-xr-x | src/gpu/GrContextFactory.cpp | 2 |
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; |