Index: gm/etc1bitmap.cpp |
diff --git a/gm/etc1bitmap.cpp b/gm/etc1bitmap.cpp |
index c66f7b23b96ee03de527e0f7280eb54edf0e8774..363bd4419c44209b32cf14ca43c86992ef06889a 100644 |
--- a/gm/etc1bitmap.cpp |
+++ b/gm/etc1bitmap.cpp |
@@ -219,10 +219,10 @@ private: |
////////////////////////////////////////////////////////////////////////////// |
-DEF_GM( return SkNEW(skiagm::ETC1Bitmap_PKM_GM); ) |
-DEF_GM( return SkNEW(skiagm::ETC1Bitmap_KTX_GM); ) |
-DEF_GM( return SkNEW(skiagm::ETC1Bitmap_R11_KTX_GM); ) |
+DEF_GM(return new skiagm::ETC1Bitmap_PKM_GM;) |
+DEF_GM(return new skiagm::ETC1Bitmap_KTX_GM;) |
+DEF_GM(return new skiagm::ETC1Bitmap_R11_KTX_GM;) |
#ifndef SK_IGNORE_ETC1_SUPPORT |
-DEF_GM( return SkNEW(skiagm::ETC1Bitmap_NPOT_GM); ) |
+DEF_GM(return new skiagm::ETC1Bitmap_NPOT_GM;) |
#endif // SK_IGNORE_ETC1_SUPPORT |