Index: src/core/SkColorFilterShader.h |
diff --git a/src/core/SkColorFilterShader.h b/src/core/SkColorFilterShader.h |
index 0f41a43c49d72890f59b2f1544bea0288621362b..167a272fa4e8ca6914a170040f8c17984900f6e4 100644 |
--- a/src/core/SkColorFilterShader.h |
+++ b/src/core/SkColorFilterShader.h |
@@ -13,7 +13,7 @@ |
class SkColorFilterShader : public SkShader { |
public: |
- SkColorFilterShader(SkShader* shader, SkColorFilter* filter); |
+ SkColorFilterShader(sk_sp<SkShader> shader, sk_sp<SkColorFilter> filter); |
#if SK_SUPPORT_GPU |
const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
@@ -53,8 +53,8 @@ protected: |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
private: |
- SkAutoTUnref<SkShader> fShader; |
- SkAutoTUnref<SkColorFilter> fFilter; |
+ sk_sp<SkShader> fShader; |
+ sk_sp<SkColorFilter> fFilter; |
typedef SkShader INHERITED; |
}; |