Index: include/effects/Sk2DPathEffect.h |
diff --git a/include/effects/Sk2DPathEffect.h b/include/effects/Sk2DPathEffect.h |
index 7fbf94b14db2625de3139ea14b9ca6e53154a176..fa12dcf0954bbc2925f63e05643bc472978dfa2c 100644 |
--- a/include/effects/Sk2DPathEffect.h |
+++ b/include/effects/Sk2DPathEffect.h |
@@ -56,7 +56,7 @@ private: |
class SK_API SkLine2DPathEffect : public Sk2DPathEffect { |
public: |
static SkLine2DPathEffect* Create(SkScalar width, const SkMatrix& matrix) { |
- return SkNEW_ARGS(SkLine2DPathEffect, (width, matrix)); |
+ return new SkLine2DPathEffect(width, matrix); |
} |
virtual bool filterPath(SkPath* dst, const SkPath& src, |
@@ -85,7 +85,7 @@ public: |
* the latice. |
*/ |
static SkPath2DPathEffect* Create(const SkMatrix& matrix, const SkPath& path) { |
- return SkNEW_ARGS(SkPath2DPathEffect, (matrix, path)); |
+ return new SkPath2DPathEffect(matrix, path); |
} |
SK_TO_STRING_OVERRIDE() |