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