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