| Index: include/effects/SkCornerPathEffect.h
|
| diff --git a/include/effects/SkCornerPathEffect.h b/include/effects/SkCornerPathEffect.h
|
| index 19357903eca0750c16212503690774ce3280e27e..4c8908575db241f581e3c9f6e5fd857f69f7cdfb 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,
|
|
|