Index: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp |
diff --git a/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp b/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp |
index a71922e012ad67b277d9084db95033bb37cc3f96..5e8c6bcd1ed44ee1560c78bb3cc973ee41723d8f 100644 |
--- a/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp |
+++ b/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp |
@@ -41,7 +41,7 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
return NULL; |
} |
- GrGLInterface* interface = new GrGLInterface(); |
+ GrGLInterface* interface = SkNEW(GrGLInterface()); |
interface->fActiveTexture = glActiveTexture; |
GR_GL_GET_PROC(AttachShader); |