Index: src/gpu/batches/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAConvexPathRenderer.cpp b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
index 8c55de7e79cc79d202992a03355c0cecb4a49e78..f557c9b9e9cd8806a774904691fb6610e4e9519b 100644 |
--- a/src/gpu/batches/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
@@ -18,7 +18,6 @@ |
#include "GrPathUtils.h" |
#include "GrProcessor.h" |
#include "GrPipelineBuilder.h" |
-#include "GrStrokeInfo.h" |
#include "SkGeometry.h" |
#include "SkPathPriv.h" |
#include "SkString.h" |
@@ -682,7 +681,7 @@ const GrGeometryProcessor* QuadEdgeEffect::TestCreate(GrProcessorTestData* d) { |
bool GrAAConvexPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { |
return (args.fShaderCaps->shaderDerivativeSupport() && args.fAntiAlias && |
- args.fStroke->isFillStyle() && !args.fPath->isInverseFillType() && |
+ args.fStyle->isSimpleFill() && !args.fPath->isInverseFillType() && |
args.fPath->isConvex()); |
} |