Index: src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
index d07eb70e84a67d596fba221b89e2a6f4fb11bbbb..0a6e5cfd72757113e11c258f2a0b34b63005a394 100644 |
--- a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
@@ -53,7 +53,7 @@ bool GrAALinearizingConvexPathRenderer::onCanDrawPath(const CanDrawPathArgs& arg |
} |
SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * args.fStroke->getWidth(); |
return strokeWidth >= 1.0f && strokeWidth <= kMaxStrokeWidth && !args.fStroke->isDashed() && |
- SkPathPriv::LastVerbIsClose(*args.fPath) && |
+ SkPathPriv::IsClosedSingleContour(*args.fPath) && |
args.fStroke->getJoin() != SkPaint::Join::kRound_Join; |
} |
return args.fStroke->getStyle() == SkStrokeRec::kFill_Style; |