Index: src/gpu/batches/GrPLSPathRenderer.cpp |
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp |
index c26b4c02435fc23571117781c8671cc8cad659dd..46993c7f33aa4abad0ce64fbdd0f694ce1028665 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 "GrStyle.h" |
+#include "GrStrokeInfo.h" |
#include "GrTessellator.h" |
#include "batches/GrVertexBatch.h" |
#include "glsl/GrGLSLGeometryProcessor.h" |
@@ -778,7 +778,7 @@ |
// 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.fStyle->isSimpleFill() && !args.fPath->isInverseFillType() && |
+ args.fStroke->isFillStyle() && !args.fPath->isInverseFillType() && |
args.fPath->getFillType() == SkPath::FillType::kWinding_FillType; |
} |