aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/dashcubics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/dashcubics.cpp')
-rw-r--r--gm/dashcubics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/dashcubics.cpp b/gm/dashcubics.cpp
index 5d874d4dc6..f99c0c34f4 100644
--- a/gm/dashcubics.cpp
+++ b/gm/dashcubics.cpp
@@ -43,7 +43,7 @@ protected:
SkParsePath::FromSVGString(d, &path);
SkScalar intervals[] = { 5, 10 };
- SkPathEffect* pe = new SkDashPathEffect(intervals, 2, 0);
+ SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 0);
SkPaint paint;
paint.setAntiAlias(true);