| Index: src/gpu/GrContextFactory.cpp
|
| diff --git a/src/gpu/GrContextFactory.cpp b/src/gpu/GrContextFactory.cpp
|
| index b7e48254c881af6835b8c6e195b3a8c2ee1a69a7..bcf0c32cf5db2d31b63c5685897019a6bc22db72 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;
|
|
|