diff options
author | robertphillips <robertphillips@google.com> | 2016-04-17 14:27:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-17 14:27:05 -0700 |
commit | 225db4441e0cb887d52c906e8bb39df506304b3e (patch) | |
tree | d76da5559730f212ec2fbf4912d68875a0515a2f /include/effects/SkPaintImageFilter.h | |
parent | 6fb3cd7209849e665635ac17ef4eef4ad63e7f61 (diff) |
Outline SkImageFilter Make methods
Mainly mechanical CL.
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1893973002
Review URL: https://codereview.chromium.org/1893973002
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; |