Index: src/gpu/GrPathRendererChain.cpp |
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp |
index 7c68a024697d04e9f69070f6497243b3d26e9e39..9bfa752e21fc1fc22d53a7fb846faa62e9921588 100644 |
--- a/src/gpu/GrPathRendererChain.cpp |
+++ b/src/gpu/GrPathRendererChain.cpp |
@@ -60,7 +60,14 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target, |
for (int i = 0; i < fChain.count(); ++i) { |
- if (fChain[i]->canDrawPath(target, pipelineBuilder, viewMatrix, path, stroke, antiAlias)) { |
+ GrPathRenderer::CanDrawPathArgs args; |
+ args.fTarget = target; |
+ 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 = |
fChain[i]->getStencilSupport(target, pipelineBuilder, path, stroke); |