Index: src/effects/gradients/SkTwoPointConicalGradient.h |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.h b/src/effects/gradients/SkTwoPointConicalGradient.h |
index b50a5e3a4e5494a22e3b5e660e2e6ddcb4c64e93..f2102c1472f32b35f0ae6dc79864ac1ddf0e1a16 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.h |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.h |
@@ -57,7 +57,7 @@ public: |
SkShader::GradientType asAGradient(GradientInfo* info) const override; |
#if SK_SUPPORT_GPU |
- const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
+ sk_sp<GrFragmentProcessor> asFragmentProcessor(GrContext*, |
const SkMatrix&, |
const SkMatrix*, |
SkFilterQuality, |