aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkCornerPathEffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/effects/SkCornerPathEffect.h')
-rw-r--r--include/effects/SkCornerPathEffect.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/effects/SkCornerPathEffect.h b/include/effects/SkCornerPathEffect.h
index 19357903ec..4c8908575d 100644
--- a/include/effects/SkCornerPathEffect.h
+++ b/include/effects/SkCornerPathEffect.h
@@ -20,9 +20,7 @@ public:
/** radius must be > 0 to have an effect. It specifies the distance from each corner
that should be "rounded".
*/
- static SkCornerPathEffect* Create(SkScalar radius) {
- return SkNEW_ARGS(SkCornerPathEffect, (radius));
- }
+ static SkCornerPathEffect* Create(SkScalar radius) { return new SkCornerPathEffect(radius); }
virtual ~SkCornerPathEffect();
virtual bool filterPath(SkPath* dst, const SkPath& src,