Index: include/effects/SkPerlinNoiseShader.h |
diff --git a/include/effects/SkPerlinNoiseShader.h b/include/effects/SkPerlinNoiseShader.h |
index 37d59f264e0738eef7a2a1a43ccbb9fae1fabf48..ed706c19e82bab4ad7590ffc3c35fec6b9b39f14 100644 |
--- a/include/effects/SkPerlinNoiseShader.h |
+++ b/include/effects/SkPerlinNoiseShader.h |
@@ -102,7 +102,7 @@ public: |
}; |
#if SK_SUPPORT_GPU |
- const GrFragmentProcessor* asFragmentProcessor(GrContext* context, const SkMatrix& viewM, |
+ sk_sp<GrFragmentProcessor> asFragmentProcessor(GrContext* context, const SkMatrix& viewM, |
const SkMatrix*, SkFilterQuality, |
SkSourceGammaTreatment) const override; |
#endif |