aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/aaclip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/aaclip.cpp')
-rw-r--r--gm/aaclip.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/gm/aaclip.cpp b/gm/aaclip.cpp
index 10733b3283..7ede6a5fe1 100644
--- a/gm/aaclip.cpp
+++ b/gm/aaclip.cpp
@@ -105,7 +105,7 @@ private:
typedef skiagm::GM INHERITED;
};
-DEF_GM( return SkNEW(AAClipGM); )
+DEF_GM(return new AAClipGM;)
/////////////////////////////////////////////////////////////////////////
@@ -118,7 +118,7 @@ static SkCanvas* make_canvas(const SkBitmap& bm) {
(SkPMColor*)bm.getPixels(),
bm.rowBytes());
} else {
- return SkNEW_ARGS(SkCanvas, (bm));
+ return new SkCanvas(bm);
}
}
@@ -190,7 +190,7 @@ private:
};
#if 0 // Disabled pending fix from reed@
-DEF_GM( return SkNEW(CGImageGM); )
+DEF_GM( return new CGImageGM; )
#endif
#endif
@@ -260,5 +260,4 @@ protected:
private:
typedef skiagm::GM INHERITED;
};
-DEF_GM( return SkNEW(ClipCubicGM); )
-
+DEF_GM(return new ClipCubicGM;)