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