Index: src/gpu/batches/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/batches/GrDefaultPathRenderer.cpp b/src/gpu/batches/GrDefaultPathRenderer.cpp |
index 9994b26a1ad590d4f6a6455ed99bcdbe4b776d01..747be2d8b5e94d755825eba72b098b8a9ca866f3 100644 |
--- a/src/gpu/batches/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/batches/GrDefaultPathRenderer.cpp |
@@ -443,11 +443,11 @@ bool GrDefaultPathRenderer::internalDrawPath(GrDrawTarget* target, |
// face culling doesn't make sense here |
SkASSERT(GrPipelineBuilder::kBoth_DrawFace == pipelineBuilder->getDrawFace()); |
- int passCount = 0; |
- const GrStencilSettings* passes[3]; |
- GrPipelineBuilder::DrawFace drawFace[3]; |
- bool reverse = false; |
- bool lastPassIsBounds; |
+ int passCount = 0; |
+ const GrUserStencilSettings* passes[3]; |
+ GrPipelineBuilder::DrawFace drawFace[3]; |
+ bool reverse = false; |
+ bool lastPassIsBounds; |
if (isHairline) { |
passCount = 1; |
@@ -544,7 +544,7 @@ bool GrDefaultPathRenderer::internalDrawPath(GrDrawTarget* target, |
for (int p = 0; p < passCount; ++p) { |
pipelineBuilder->setDrawFace(drawFace[p]); |
if (passes[p]) { |
- *pipelineBuilder->stencil() = *passes[p]; |
+ pipelineBuilder->setUserStencil(passes[p]); |
} |
if (lastPassIsBounds && (p == passCount-1)) { |