Index: src/gpu/gl/SkGLContext.cpp |
diff --git a/src/gpu/gl/SkGLContext.cpp b/src/gpu/gl/SkGLContext.cpp |
index 8975a989d135e395b0048bc1e460ed84d1781b16..75fbf2bac51ffb17aaf224bfdc194e71527a37b2 100644 |
--- a/src/gpu/gl/SkGLContext.cpp |
+++ b/src/gpu/gl/SkGLContext.cpp |
@@ -105,7 +105,7 @@ void SkGLContext::testAbandon() { |
} |
SkGLContext::GLFenceSync* SkGLContext::GLFenceSync::CreateIfSupported(const SkGLContext* ctx) { |
- SkAutoTDelete<GLFenceSync> ret(SkNEW(GLFenceSync)); |
+ SkAutoTDelete<GLFenceSync> ret(new GLFenceSync); |
if (kGL_GrGLStandard == ctx->gl()->fStandard) { |
const GrGLubyte* versionStr; |