Index: include/effects/SkDiscretePathEffect.h |
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h |
index d05d181de0d9ee0ef5e1b1cfbb9c0dc8ebb33733..b55dca864440e07e14516172215d3c044ac58a32 100644 |
--- a/include/effects/SkDiscretePathEffect.h |
+++ b/include/effects/SkDiscretePathEffect.h |
@@ -32,8 +32,7 @@ public: |
static SkDiscretePathEffect* Create(SkScalar segLength, |
SkScalar deviation, |
uint32_t seedAssist=0) { |
- return SkNEW_ARGS(SkDiscretePathEffect, |
- (segLength, deviation, seedAssist)); |
+ return new SkDiscretePathEffect(segLength, deviation, seedAssist); |
} |
virtual bool filterPath(SkPath* dst, const SkPath& src, |