Index: src/effects/gradients/SkRadialGradient.h |
diff --git a/src/effects/gradients/SkRadialGradient.h b/src/effects/gradients/SkRadialGradient.h |
index 8eb1f76832317a14dbfaff0c1d8686c47a788118..dfa6823c0e15e00938d36784ab4689249c11d575 100644 |
--- a/src/effects/gradients/SkRadialGradient.h |
+++ b/src/effects/gradients/SkRadialGradient.h |
@@ -26,7 +26,7 @@ public: |
GradientType asAGradient(GradientInfo* info) const override; |
#if SK_SUPPORT_GPU |
- const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
+ sk_sp<GrFragmentProcessor> asFragmentProcessor(GrContext*, |
const SkMatrix& viewM, |
const SkMatrix*, |
SkFilterQuality, |