Index: include/effects/SkColorFilterImageFilter.h |
diff --git a/include/effects/SkColorFilterImageFilter.h b/include/effects/SkColorFilterImageFilter.h |
index 6dd9df2495ca28809a14ba43d19bb936a03137fd..c34e9ced5908e9f5febde9d9c259ef6673356ebb 100644 |
--- a/include/effects/SkColorFilterImageFilter.h |
+++ b/include/effects/SkColorFilterImageFilter.h |
@@ -31,9 +31,8 @@ private: |
SkColorFilterImageFilter(SkColorFilter* cf, |
SkImageFilter* input, |
const CropRect* cropRect); |
- virtual ~SkColorFilterImageFilter(); |
- SkColorFilter* fColorFilter; |
+ sk_sp<SkColorFilter> fColorFilter; |
typedef SkImageFilter INHERITED; |
}; |