Index: src/gpu/GrPathRendererChain.cpp |
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp |
index b1eb3202bfdc93e1849cebfff5f76a0c4d99421f..c6bc4c08f160cde56f180dcd35fbb33d882d01aa 100644 |
--- a/src/gpu/GrPathRendererChain.cpp |
+++ b/src/gpu/GrPathRendererChain.cpp |
@@ -40,7 +40,7 @@ GrPathRenderer* GrPathRendererChain::addPathRenderer(GrPathRenderer* pr) { |
} |
GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrShaderCaps* shaderCaps, |
- const GrPipelineBuilder* pipelineBuilder, |
+ const GrPipelineBuilder& pipelineBuilder, |
const SkMatrix& viewMatrix, |
const SkPath& path, |
const GrStrokeInfo& stroke, |
@@ -70,7 +70,7 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrShaderCaps* shaderC |
for (int i = 0; i < fChain.count(); ++i) { |
GrPathRenderer::CanDrawPathArgs args; |
args.fShaderCaps = shaderCaps; |
- args.fPipelineBuilder = pipelineBuilder; |
+ args.fPipelineBuilder = &pipelineBuilder; |
args.fViewMatrix = &viewMatrix; |
args.fPath = &path; |
args.fStroke = &stroke; |