| Index: src/gpu/GrPathRendererChain.cpp
|
| diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp
|
| index 9bfa752e21fc1fc22d53a7fb846faa62e9921588..f5c5d690a4ab6f9b69cba09803adc02469c96f06 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.reset(SkRef(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) {
|
|
|