Index: src/effects/gradients/SkLinearGradient.h |
diff --git a/src/effects/gradients/SkLinearGradient.h b/src/effects/gradients/SkLinearGradient.h |
index eddb35512f254e06d0ca3c337ec8659211f0ca2c..af1088b3699d9a187fa6eb58f32af07b9f47b7f4 100644 |
--- a/src/effects/gradients/SkLinearGradient.h |
+++ b/src/effects/gradients/SkLinearGradient.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(SkLinearGradient) |