diff options
author | 2015-11-20 14:01:07 -0800 | |
---|---|---|
committer | 2015-11-20 14:01:07 -0800 | |
commit | a7006d45217d128a94fa53cb4b827cca79bc7049 (patch) | |
tree | bc66f96e8ef988078ea8ee752006c9debaef32b2 /src/effects | |
parent | 8b78bd6d5b39fe8ef407c4b59b1be8421e58d665 (diff) |
Make specialized SrcOver XPFactory
BUG=skia:
Review URL: https://codereview.chromium.org/1455273006
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkArithmeticMode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp index 87af82efdb..c8749b91bb 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]), |