Index: src/gpu/GrPathRenderer.h |
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h |
index cc149061ed4cdf190d3805e1dbed1e962f138d58..051e0078525a5f7a3c9353924b8fe30636467efc 100644 |
--- a/src/gpu/GrPathRenderer.h |
+++ b/src/gpu/GrPathRenderer.h |
@@ -265,13 +265,13 @@ private: |
* kStencilOnly in onGetStencilSupport(). |
*/ |
virtual void onStencilPath(const StencilPathArgs& args) { |
- GR_STATIC_CONST_SAME_STENCIL(kIncrementStencil, |
- kReplace_StencilOp, |
- kReplace_StencilOp, |
- kAlways_StencilFunc, |
- 0xffff, |
- 0xffff, |
- 0xffff); |
+ static constexpr GrStencilSettings kIncrementStencil( |
+ kReplace_StencilOp, |
+ kReplace_StencilOp, |
+ kAlways_StencilFunc, |
+ 0xffff, |
+ 0xffff, |
+ 0xffff); |
args.fPipelineBuilder->setStencil(kIncrementStencil); |
args.fPipelineBuilder->setDisableColorXPFactory(); |
DrawPathArgs drawArgs; |