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