Index: src/effects/gradients/SkTwoPointConicalGradient.h |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.h b/src/effects/gradients/SkTwoPointConicalGradient.h |
index 8bba9e1b7f0ad5523436786ec44e8ea3c2de8855..7801945d0c0d1f0e147062540f8ae075c7487e50 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.h |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.h |
@@ -59,9 +59,13 @@ public: |
}; |
SkShader::GradientType asAGradient(GradientInfo* info) const override; |
- bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix&, const SkMatrix*, |
- GrColor*, GrProcessorDataManager*, |
- GrFragmentProcessor**) const override; |
+#if SK_SUPPORT_GPU |
+ const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
+ const SkMatrix&, |
+ const SkMatrix*, |
+ SkFilterQuality, |
+ GrProcessorDataManager*) const override; |
+#endif |
bool isOpaque() const override; |
SkScalar getCenterX1() const { return SkPoint::Distance(fCenter1, fCenter2); } |