diff options
author | reed <reed@google.com> | 2016-04-04 10:02:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-04 10:02:58 -0700 |
commit | efdfd51b68a300d5c6e28743fe0344ca05d1cec9 (patch) | |
tree | 3cd04d31a56219559e89f6eded6f7a894eb700ba /include/effects/SkBlurDrawLooper.h | |
parent | 175cf0e51b9fbb075588c4d29e7e4257cea6f4ad (diff) |
switch maskfilters to sk_sp
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852113003
Review URL: https://codereview.chromium.org/1852113003
Diffstat (limited to 'include/effects/SkBlurDrawLooper.h')
-rw-r--r-- | include/effects/SkBlurDrawLooper.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/effects/SkBlurDrawLooper.h b/include/effects/SkBlurDrawLooper.h index 49b0c51f25..9b87683f04 100644 --- a/include/effects/SkBlurDrawLooper.h +++ b/include/effects/SkBlurDrawLooper.h @@ -46,8 +46,6 @@ public: } #endif - virtual ~SkBlurDrawLooper(); - SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const override; size_t contextSize() const override { return sizeof(BlurDrawLooperContext); } @@ -64,7 +62,7 @@ protected: bool asABlurShadow(BlurShadowRec*) const override; private: - SkMaskFilter* fBlur; + sk_sp<SkMaskFilter> fBlur; sk_sp<SkColorFilter> fColorFilter; SkScalar fDx, fDy, fSigma; SkColor fBlurColor; |