Index: src/effects/gradients/SkSweepGradient.h |
diff --git a/src/effects/gradients/SkSweepGradient.h b/src/effects/gradients/SkSweepGradient.h |
index bc465bdc44de699b38db70f754bb3ed34bf02267..5b9d24f96054d3609a00b93e0e93672dcf947c22 100644 |
--- a/src/effects/gradients/SkSweepGradient.h |
+++ b/src/effects/gradients/SkSweepGradient.h |
@@ -30,9 +30,13 @@ public: |
GradientType asAGradient(GradientInfo* info) const override; |
- bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix& viewM, |
- const SkMatrix*, GrColor*, GrProcessorDataManager*, |
- GrFragmentProcessor**) const override; |
+#if SK_SUPPORT_GPU |
+ const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
+ const SkMatrix& viewM, |
+ const SkMatrix*, |
+ SkFilterQuality, |
+ GrProcessorDataManager*) const override; |
+#endif |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkSweepGradient) |