Index: src/effects/gradients/SkSweepGradient.h |
diff --git a/src/effects/gradients/SkSweepGradient.h b/src/effects/gradients/SkSweepGradient.h |
index d0807daf23e116f0c804287c66965c530b98af08..0812a583a41a3b33c8cd66863b1d9c902825a4e2 100644 |
--- a/src/effects/gradients/SkSweepGradient.h |
+++ b/src/effects/gradients/SkSweepGradient.h |
@@ -27,7 +27,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, |