Index: src/effects/gradients/SkLinearGradient.h |
diff --git a/src/effects/gradients/SkLinearGradient.h b/src/effects/gradients/SkLinearGradient.h |
index 8edcb9d639826a4926829c55fb4ab5c964b1b3ca..5800e576db95a22b8811297573993029dee6caa7 100644 |
--- a/src/effects/gradients/SkLinearGradient.h |
+++ b/src/effects/gradients/SkLinearGradient.h |
@@ -57,7 +57,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, |