Index: src/gpu/effects/GrCoverageSetOpXP.cpp |
diff --git a/src/gpu/effects/GrCoverageSetOpXP.cpp b/src/gpu/effects/GrCoverageSetOpXP.cpp |
index c7226fc80a02ac03a68be764131e2195d13b2120..43bb4887cfa985c701111ba5d608a3c2d679e49f 100644 |
--- a/src/gpu/effects/GrCoverageSetOpXP.cpp |
+++ b/src/gpu/effects/GrCoverageSetOpXP.cpp |
@@ -35,7 +35,7 @@ private: |
GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, |
bool doesStencilWrite, |
GrColor* color, |
- const GrCaps& caps) override; |
+ const GrCaps& caps) const override; |
void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; |
@@ -109,7 +109,7 @@ GrXferProcessor::OptFlags |
CoverageSetOpXP::onGetOptimizations(const GrPipelineOptimizations& optimizations, |
bool doesStencilWrite, |
GrColor* color, |
- const GrCaps& caps) { |
+ const GrCaps& caps) const { |
// We never look at the color input |
return GrXferProcessor::kIgnoreColor_OptFlag; |
} |