Index: src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp |
diff --git a/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp b/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp |
index bf939730ca813ad209a78c1b48734de80174aba5..09b732387720a946cf58e595bccb6cd8229ca3cc 100644 |
--- a/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp |
+++ b/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp |
@@ -179,7 +179,7 @@ EGLGLContext::EGLGLContext(GrGLStandard forcedGpuAPI) |
continue; |
} |
- this->init(gl.detach(), SkEGLFenceSync::CreateIfSupported(fDisplay)); |
+ this->init(gl.release(), SkEGLFenceSync::CreateIfSupported(fDisplay)); |
break; |
} |
} |