Index: src/utils/SkDashPath.cpp |
diff --git a/src/utils/SkDashPath.cpp b/src/utils/SkDashPath.cpp |
index cd01a9972b94695e1a4b27e1e819bb675fcb56e0..2efe1f4957379bbf50f020a1558c98b758f7030d 100644 |
--- a/src/utils/SkDashPath.cpp |
+++ b/src/utils/SkDashPath.cpp |
@@ -305,7 +305,7 @@ bool SkDashPath::FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec |
// extend if we ended on a segment and we need to join up with the (skipped) initial segment |
if (meas.isClosed() && is_even(initialDashIndex) && |
- initialDashLength > 0) { |
+ initialDashLength >= 0) { |
meas.getSegment(0, initialDashLength, dst, !addedSegment); |
++segCount; |
} |