| Index: src/gpu/GrPathRendererChain.cpp
|
| diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp
|
| index 899418659bf5215703cc9ff4fa6ed85cb3005272..bed56f8b868a1901e89af2e5cd02b0e457c9ecd3 100644
|
| --- a/src/gpu/GrPathRendererChain.cpp
|
| +++ b/src/gpu/GrPathRendererChain.cpp
|
| @@ -79,7 +79,7 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(
|
| }
|
| if (minStencilSupport != GrPathRenderer::kNoSupport_StencilSupport) {
|
| // We don't support (and shouldn't need) stenciling of non-fill paths.
|
| - if (!args.fStyle->isSimpleFill()) {
|
| + if (!args.fShape->style().isSimpleFill()) {
|
| return nullptr;
|
| }
|
| }
|
| @@ -87,8 +87,7 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(
|
| for (int i = 0; i < fChain.count(); ++i) {
|
| if (fChain[i]->canDrawPath(args)) {
|
| if (GrPathRenderer::kNoSupport_StencilSupport != minStencilSupport) {
|
| - GrPathRenderer::StencilSupport support =
|
| - fChain[i]->getStencilSupport(*args.fPath);
|
| + GrPathRenderer::StencilSupport support = fChain[i]->getStencilSupport(*args.fShape);
|
| if (support < minStencilSupport) {
|
| continue;
|
| } else if (stencilSupport) {
|
|
|