Index: include/core/SkPathEffect.h |
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h |
index 34d0dd7d518d3d3631369ec6814183bb00ec293a..72ea4620c5dea938fe3f6b4764383b6b77d7b66f 100644 |
--- a/include/core/SkPathEffect.h |
+++ b/include/core/SkPathEffect.h |
@@ -185,7 +185,7 @@ public: |
and decremented in the destructor. |
*/ |
static SkComposePathEffect* Create(SkPathEffect* outer, SkPathEffect* inner) { |
- return SkNEW_ARGS(SkComposePathEffect, (outer, inner)); |
+ return new SkComposePathEffect(outer, inner); |
} |
virtual bool filterPath(SkPath* dst, const SkPath& src, |
@@ -222,7 +222,7 @@ public: |
and decremented in the destructor. |
*/ |
static SkSumPathEffect* Create(SkPathEffect* first, SkPathEffect* second) { |
- return SkNEW_ARGS(SkSumPathEffect, (first, second)); |
+ return new SkSumPathEffect(first, second); |
} |
virtual bool filterPath(SkPath* dst, const SkPath& src, |