Index: src/gpu/batches/GrPLSPathRenderer.cpp |
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp |
index 46993c7f33aa4abad0ce64fbdd0f694ce1028665..c26b4c02435fc23571117781c8671cc8cad659dd 100644 |
--- a/src/gpu/batches/GrPLSPathRenderer.cpp |
+++ b/src/gpu/batches/GrPLSPathRenderer.cpp |
@@ -23,7 +23,7 @@ |
#include "GrPathUtils.h" |
#include "GrProcessor.h" |
#include "GrPipelineBuilder.h" |
-#include "GrStrokeInfo.h" |
+#include "GrStyle.h" |
#include "GrTessellator.h" |
#include "batches/GrVertexBatch.h" |
#include "glsl/GrGLSLGeometryProcessor.h" |
@@ -778,7 +778,7 @@ bool GrPLSPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { |
// We have support for even-odd rendering, but are having some troublesome |
// seams. Disable in the presence of even-odd for now. |
return args.fShaderCaps->shaderDerivativeSupport() && args.fAntiAlias && |
- args.fStroke->isFillStyle() && !args.fPath->isInverseFillType() && |
+ args.fStyle->isSimpleFill() && !args.fPath->isInverseFillType() && |
args.fPath->getFillType() == SkPath::FillType::kWinding_FillType; |
} |