aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkPaintImageFilter.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-04-17 14:27:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-17 14:27:05 -0700
commit225db4441e0cb887d52c906e8bb39df506304b3e (patch)
treed76da5559730f212ec2fbf4912d68875a0515a2f /include/effects/SkPaintImageFilter.h
parent6fb3cd7209849e665635ac17ef4eef4ad63e7f61 (diff)
Outline SkImageFilter Make methods
Diffstat (limited to 'include/effects/SkPaintImageFilter.h')
-rw-r--r--include/effects/SkPaintImageFilter.h4
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;