aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkBlurDrawLooper.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-04-04 10:02:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-04 10:02:58 -0700
commitefdfd51b68a300d5c6e28743fe0344ca05d1cec9 (patch)
tree3cd04d31a56219559e89f6eded6f7a894eb700ba /include/effects/SkBlurDrawLooper.h
parent175cf0e51b9fbb075588c4d29e7e4257cea6f4ad (diff)
switch maskfilters to sk_sp
Diffstat (limited to 'include/effects/SkBlurDrawLooper.h')
-rw-r--r--include/effects/SkBlurDrawLooper.h4
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;