Index: include/effects/SkArcToPathEffect.h |
diff --git a/include/effects/SkArcToPathEffect.h b/include/effects/SkArcToPathEffect.h |
index 6ae7e3648542ed7ffe728c9d1e1db975e82fd6f2..4716ea125d5a098118e4cc274fca9f52c5d0997f 100644 |
--- a/include/effects/SkArcToPathEffect.h |
+++ b/include/effects/SkArcToPathEffect.h |
@@ -19,7 +19,7 @@ public: |
if (radius <= 0) { |
return NULL; |
} |
- return SkNEW_ARGS(SkArcToPathEffect, (radius)); |
+ return new SkArcToPathEffect(radius); |
} |
bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; |