Index: include/effects/Sk1DPathEffect.h |
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h |
index 6b3ec6d673b1a1ca962490857ef3f879a45a9538..6a7804f1119ac1017ed5a3b73fd2118b9eaa15a7 100644 |
--- a/include/effects/Sk1DPathEffect.h |
+++ b/include/effects/Sk1DPathEffect.h |
@@ -58,7 +58,7 @@ public: |
*/ |
static SkPath1DPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, |
Style style) { |
- return SkNEW_ARGS(SkPath1DPathEffect, (path, advance, phase, style)); |
+ return new SkPath1DPathEffect(path, advance, phase, style); |
} |
virtual bool filterPath(SkPath*, const SkPath&, |