Index: gm/dashcubics.cpp |
diff --git a/gm/dashcubics.cpp b/gm/dashcubics.cpp |
index 5d874d4dc64482c06b5c6ca268958b32b7cabcb1..f99c0c34f4544975a0649a544a58adef7f1ea6c2 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); |