| Index: src/gpu/GrPathRendererChain.cpp
|
| diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp
|
| index 9bfa752e21fc1fc22d53a7fb846faa62e9921588..f5788511bdb2139c549c64016bf7a54af66eabdf 100644
|
| --- a/src/gpu/GrPathRendererChain.cpp
|
| +++ b/src/gpu/GrPathRendererChain.cpp
|
| @@ -61,7 +61,7 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target,
|
|
|
| for (int i = 0; i < fChain.count(); ++i) {
|
| GrPathRenderer::CanDrawPathArgs args;
|
| - args.fTarget = target;
|
| + args.fShaderCaps = target->caps()->shaderCaps();
|
| args.fPipelineBuilder = pipelineBuilder;
|
| args.fViewMatrix = &viewMatrix;
|
| args.fPath = &path;
|
| @@ -70,7 +70,7 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target,
|
| if (fChain[i]->canDrawPath(args)) {
|
| if (GrPathRenderer::kNoSupport_StencilSupport != minStencilSupport) {
|
| GrPathRenderer::StencilSupport support =
|
| - fChain[i]->getStencilSupport(target, pipelineBuilder, path, stroke);
|
| + fChain[i]->getStencilSupport(path, stroke);
|
| if (support < minStencilSupport) {
|
| continue;
|
| } else if (stencilSupport) {
|
|
|