Index: src/effects/SkArithmeticMode_gpu.cpp |
diff --git a/src/effects/SkArithmeticMode_gpu.cpp b/src/effects/SkArithmeticMode_gpu.cpp |
index c9493d7e927c3d3ff32129b898b76032876e901f..994b073ca7000012fcbf8940dd982d4c9b87d67a 100644 |
--- a/src/effects/SkArithmeticMode_gpu.cpp |
+++ b/src/effects/SkArithmeticMode_gpu.cpp |
@@ -170,7 +170,7 @@ private: |
GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, |
bool doesStencilWrite, |
GrColor* overrideColor, |
- const GrCaps& caps) override; |
+ const GrCaps& caps) const override; |
void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; |
@@ -260,7 +260,7 @@ GrXferProcessor::OptFlags ArithmeticXP::onGetOptimizations( |
const GrPipelineOptimizations& optimizations, |
bool doesStencilWrite, |
GrColor* overrideColor, |
- const GrCaps& caps) { |
+ const GrCaps& caps) const { |
return GrXferProcessor::kNone_OptFlags; |
} |