Index: src/gpu/gl/debug/GrDebugGL.h |
diff --git a/src/gpu/gl/debug/GrDebugGL.h b/src/gpu/gl/debug/GrDebugGL.h |
index 9192725d1d454951757ec5831d2107420186dab1..ae6a9783635696c1c929ac76a51849a909975a5e 100644 |
--- a/src/gpu/gl/debug/GrDebugGL.h |
+++ b/src/gpu/gl/debug/GrDebugGL.h |
@@ -93,7 +93,7 @@ public: |
SkASSERT(0 < gStaticRefCount); |
if (NULL == gObj) { |
- gObj = SkNEW(GrDebugGL); |
+ gObj = new GrDebugGL; |
} |
return gObj; |
@@ -109,7 +109,7 @@ public: |
SkASSERT(gStaticRefCount > 0); |
gStaticRefCount--; |
if (0 == gStaticRefCount) { |
- SkDELETE(gObj); |
+ delete gObj; |
gObj = NULL; |
} |
} |