Index: src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
index 720c1c34f6544dc7aa7881e8806ee4a020f3cdce..c96e2074c56136f2bbe04b16da979c16dcc10026 100644 |
--- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
+++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
@@ -49,11 +49,11 @@ bool GrStencilAndCoverPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) c |
if (args.fStroke->isHairlineStyle()) { |
return false; |
} |
- if (!args.fPipelineBuilder->getStencil().isDisabled()) { |
+ if (!args.fIsStencilDisabled) { |
return false; |
} |
if (args.fAntiAlias) { |
- return args.fPipelineBuilder->getRenderTarget()->isStencilBufferMultisampled(); |
+ return args.fIsStencilBufferMSAA; |
} else { |
return true; // doesn't do per-path AA, relies on the target having MSAA |
} |