Index: include/effects/SkXfermodeImageFilter.h |
diff --git a/include/effects/SkXfermodeImageFilter.h b/include/effects/SkXfermodeImageFilter.h |
index d59b7a2b257c3d002b4ec10d03ba312b1685c782..693425ed05103b3fe7b4fe44c5a381a9c1eb8ba7 100644 |
--- a/include/effects/SkXfermodeImageFilter.h |
+++ b/include/effects/SkXfermodeImageFilter.h |
@@ -21,8 +21,6 @@ class SK_API SkXfermodeImageFilter : public SkImageFilter { |
*/ |
public: |
- virtual ~SkXfermodeImageFilter(); |
- |
static SkImageFilter* Create(SkXfermode* mode, SkImageFilter* background, |
SkImageFilter* foreground = NULL, |
const CropRect* cropRect = NULL) { |
@@ -50,7 +48,7 @@ protected: |
void flatten(SkWriteBuffer&) const override; |
private: |
- SkXfermode* fMode; |
+ SkAutoTUnref<SkXfermode> fMode; |
typedef SkImageFilter INHERITED; |
}; |