Index: src/effects/SkArithmeticMode.cpp |
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp |
index 87af82efdbc6d51a1c014c1f8cbfdd9c37012014..c8749b91bb678587104bd7381fce320458fed229 100644 |
--- a/src/effects/SkArithmeticMode.cpp |
+++ b/src/effects/SkArithmeticMode.cpp |
@@ -34,7 +34,7 @@ public: |
bool asFragmentProcessor(const GrFragmentProcessor**, |
const GrFragmentProcessor* dst) const override; |
- bool asXPFactory(GrXPFactory**) const override; |
+ bool asXPFactory(const GrXPFactory**) const override; |
#endif |
private: |
@@ -248,7 +248,7 @@ bool SkArithmeticMode_scalar::asFragmentProcessor(const GrFragmentProcessor** fp |
return true; |
} |
-bool SkArithmeticMode_scalar::asXPFactory(GrXPFactory** xpf) const { |
+bool SkArithmeticMode_scalar::asXPFactory(const GrXPFactory** xpf) const { |
if (xpf) { |
*xpf = GrArithmeticXPFactory::Create(SkScalarToFloat(fK[0]), |
SkScalarToFloat(fK[1]), |