Index: include/effects/SkBlurDrawLooper.h |
diff --git a/include/effects/SkBlurDrawLooper.h b/include/effects/SkBlurDrawLooper.h |
index 49b0c51f251cd481fd9fa8e52a5b0bb7c50c93c4..9b87683f048572dc9834d5807bdc8c85b375cef3 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; |