Index: src/gpu/gl/debug/GrFakeRefObj.h |
diff --git a/src/gpu/gl/debug/GrFakeRefObj.h b/src/gpu/gl/debug/GrFakeRefObj.h |
index 27e27ce3cefa9ac0be90db6be9b91250df711669..30580516fa5a0c2955296b31706d000c1bf1920f 100644 |
--- a/src/gpu/gl/debug/GrFakeRefObj.h |
+++ b/src/gpu/gl/debug/GrFakeRefObj.h |
@@ -79,10 +79,8 @@ private: |
// factory creation entry point. This entry point is used by the GrGLDebug |
// object to instantiate the various objects |
// all globally unique IDs |
-#define GR_DEFINE_CREATOR(className) \ |
- public: \ |
- static GrFakeRefObj *create ## className() { \ |
- return SkNEW(className); \ |
- } |
+#define GR_DEFINE_CREATOR(className) \ |
+public: \ |
+ static GrFakeRefObj *create##className() { return new className; } |
#endif // GrFakeRefObj_DEFINED |