Index: include/effects/SkPaintImageFilter.h |
diff --git a/include/effects/SkPaintImageFilter.h b/include/effects/SkPaintImageFilter.h |
index 35a76b80fbf492485ac889ad518c0efc872f050b..8a59da6c664f15cfca5f37f8553de37e13dfcc3e 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; |