diff options
Diffstat (limited to 'include/effects/SkPaintImageFilter.h')
-rw-r--r-- | include/effects/SkPaintImageFilter.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/effects/SkPaintImageFilter.h b/include/effects/SkPaintImageFilter.h index 35a76b80fb..8a59da6c66 100644 --- a/include/effects/SkPaintImageFilter.h +++ b/include/effects/SkPaintImageFilter.h @@ -22,9 +22,7 @@ public: * not specified, the source primitive's bounds are used * instead. */ - static sk_sp<SkImageFilter> Make(const SkPaint& paint, const CropRect* cropRect = nullptr) { - return sk_sp<SkImageFilter>(new SkPaintImageFilter(paint, cropRect)); - } + static sk_sp<SkImageFilter> Make(const SkPaint& paint, const CropRect* cropRect = nullptr); bool affectsTransparentBlack() const override; |