Index: src/effects/gradients/SkRadialGradient.h |
diff --git a/src/effects/gradients/SkRadialGradient.h b/src/effects/gradients/SkRadialGradient.h |
index d0f63ac54da6990e79e46863d07852c50cf40fd1..2d4052be14fd5b229f1c6a6dfbf0e41ea3644218 100644 |
--- a/src/effects/gradients/SkRadialGradient.h |
+++ b/src/effects/gradients/SkRadialGradient.h |
@@ -29,9 +29,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(SkRadialGradient) |