Index: src/effects/SkArithmeticMode.cpp |
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp |
index 35ac8a84ba3a1d18743b259eb2a04d3e992883e2..87af82efdbc6d51a1c014c1f8cbfdd9c37012014 100644 |
--- a/src/effects/SkArithmeticMode.cpp |
+++ b/src/effects/SkArithmeticMode.cpp |
@@ -31,7 +31,7 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkArithmeticMode_scalar) |
#if SK_SUPPORT_GPU |
- bool asFragmentProcessor(const GrFragmentProcessor**, GrProcessorDataManager*, |
+ bool asFragmentProcessor(const GrFragmentProcessor**, |
const GrFragmentProcessor* dst) const override; |
bool asXPFactory(GrXPFactory**) const override; |
@@ -236,11 +236,9 @@ SkXfermode* SkArithmeticMode::Create(SkScalar k1, SkScalar k2, |
#if SK_SUPPORT_GPU |
bool SkArithmeticMode_scalar::asFragmentProcessor(const GrFragmentProcessor** fp, |
- GrProcessorDataManager* procDataManager, |
const GrFragmentProcessor* dst) const { |
if (fp) { |
- *fp = GrArithmeticFP::Create(procDataManager, |
- SkScalarToFloat(fK[0]), |
+ *fp = GrArithmeticFP::Create(SkScalarToFloat(fK[0]), |
SkScalarToFloat(fK[1]), |
SkScalarToFloat(fK[2]), |
SkScalarToFloat(fK[3]), |