Index: src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
diff --git a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
index 31f88d5e9e3d08b23bcef46b3fbfc46b371023b4..7a000782ca593182878b2f90beb4d443ba64f037 100644 |
--- a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
+++ b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
@@ -41,7 +41,7 @@ const GrGLInterface* GrGLCreateMesaInterface() { |
// We must have array and element_array buffer objects. |
return NULL; |
} |
- GrGLInterface* interface = new GrGLInterface(); |
+ GrGLInterface* interface = SkNEW(GrGLInterface()); |
GR_GL_GET_PROC(ActiveTexture); |
GR_GL_GET_PROC(BeginQuery); |