Index: src/core/SkComposeShader.h |
diff --git a/src/core/SkComposeShader.h b/src/core/SkComposeShader.h |
index ed89b88e88d37a84130f83397fcc7d3de6176ef0..dcd43d3ab7ef9d0d5b012bdd1b015a50c1f45941 100644 |
--- a/src/core/SkComposeShader.h |
+++ b/src/core/SkComposeShader.h |
@@ -35,11 +35,11 @@ public: |
{} |
#if SK_SUPPORT_GPU |
- const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
- const SkMatrix& viewM, |
- const SkMatrix* localMatrix, |
- SkFilterQuality, |
- SkSourceGammaTreatment) const override; |
+ sk_sp<GrFragmentProcessor> asFragmentProcessor(GrContext*, |
+ const SkMatrix& viewM, |
+ const SkMatrix* localMatrix, |
+ SkFilterQuality, |
+ SkSourceGammaTreatment) const override; |
#endif |
class ComposeShaderContext : public SkShader::Context { |