Index: include/effects/SkImageSource.h |
diff --git a/include/effects/SkImageSource.h b/include/effects/SkImageSource.h |
index 08469481a2015e4c1e4210bd20821943d07e27d1..084028d6cbd233dec847ebf413a8ffb8e7181a4e 100644 |
--- a/include/effects/SkImageSource.h |
+++ b/include/effects/SkImageSource.h |
@@ -14,8 +14,8 @@ class SkImage; |
class SK_API SkImageSource : public SkImageFilter { |
public: |
- static SkImageFilter* Create(const SkImage*); |
- static SkImageFilter* Create(const SkImage*, |
+ static SkImageFilter* Create(SkImage*); |
+ static SkImageFilter* Create(SkImage*, |
const SkRect& srcRect, |
const SkRect& dstRect, |
SkFilterQuality); |
@@ -32,15 +32,15 @@ protected: |
SkIPoint* offset) const override; |
private: |
- explicit SkImageSource(const SkImage*); |
- SkImageSource(const SkImage*, |
+ explicit SkImageSource(SkImage*); |
+ SkImageSource(SkImage*, |
const SkRect& srcRect, |
const SkRect& dstRect, |
SkFilterQuality); |
- SkAutoTUnref<const SkImage> fImage; |
- SkRect fSrcRect, fDstRect; |
- SkFilterQuality fFilterQuality; |
+ sk_sp<SkImage> fImage; |
+ SkRect fSrcRect, fDstRect; |
+ SkFilterQuality fFilterQuality; |
typedef SkImageFilter INHERITED; |
}; |