Index: src/gpu/GrPathRendererChain.cpp |
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp |
index c846dee5b3fa3ae6ed7b2820aaa34f81352f6f2c..b1eb3202bfdc93e1849cebfff5f76a0c4d99421f 100644 |
--- a/src/gpu/GrPathRendererChain.cpp |
+++ b/src/gpu/GrPathRendererChain.cpp |
@@ -40,7 +40,7 @@ |
} |
GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrShaderCaps* shaderCaps, |
- const GrPipelineBuilder& pipelineBuilder, |
+ const GrPipelineBuilder* pipelineBuilder, |
const SkMatrix& viewMatrix, |
const SkPath& path, |
const GrStrokeInfo& stroke, |
@@ -66,15 +66,15 @@ |
minStencilSupport = GrPathRenderer::kNoSupport_StencilSupport; |
} |
- GrPathRenderer::CanDrawPathArgs args; |
- args.fShaderCaps = shaderCaps; |
- args.fPipelineBuilder = &pipelineBuilder; |
- args.fViewMatrix = &viewMatrix; |
- args.fPath = &path; |
- args.fStroke = &stroke; |
- args.fAntiAlias = antiAlias; |
for (int i = 0; i < fChain.count(); ++i) { |
+ GrPathRenderer::CanDrawPathArgs args; |
+ args.fShaderCaps = shaderCaps; |
+ args.fPipelineBuilder = pipelineBuilder; |
+ args.fViewMatrix = &viewMatrix; |
+ args.fPath = &path; |
+ args.fStroke = &stroke; |
+ args.fAntiAlias = antiAlias; |
if (fChain[i]->canDrawPath(args)) { |
if (GrPathRenderer::kNoSupport_StencilSupport != minStencilSupport) { |
GrPathRenderer::StencilSupport support = |