Index: gm/pixelsnap.cpp |
diff --git a/gm/pixelsnap.cpp b/gm/pixelsnap.cpp |
index ea85a948acd01c418b763d6a6640a9d5a22b5f4e..5f1a745b14a9d4799181c32f46e77595b5ba0dd8 100644 |
--- a/gm/pixelsnap.cpp |
+++ b/gm/pixelsnap.cpp |
@@ -175,7 +175,7 @@ private: |
}; |
////////////////////////////////////////////////////////////////////////////// |
-DEF_GM( return SkNEW(PointSnapGM); ) |
-DEF_GM( return SkNEW(LineSnapGM); ) |
-DEF_GM( return SkNEW(RectSnapGM); ) |
-DEF_GM( return SkNEW(ComboSnapGM); ) |
+DEF_GM(return new PointSnapGM;) |
+DEF_GM(return new LineSnapGM;) |
+DEF_GM(return new RectSnapGM;) |
+DEF_GM(return new ComboSnapGM;) |