Index: experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
diff --git a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
index e62458e88e4c665c3f069f00e87a30a9f77106ea..196d3847f27ed5a8c6a5ca546ba189ddd6e4a2a9 100644 |
--- a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
+++ b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
@@ -106,7 +106,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 |