Index: src/utils/SkDashPath.cpp |
diff --git a/src/utils/SkDashPath.cpp b/src/utils/SkDashPath.cpp |
index 4b2b33d2c4a1bf2ced56dcdd3d13ddf4772a0f29..de249f6fff3b747066cfc38080b453b3342b0e9f 100644 |
--- a/src/utils/SkDashPath.cpp |
+++ b/src/utils/SkDashPath.cpp |
@@ -272,7 +272,7 @@ bool SkDashPath::FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec |
while (distance < length) { |
SkASSERT(dlen >= 0); |
addedSegment = false; |
- if (is_even(index) && dlen > 0 && !skipFirstSegment) { |
+ if (is_even(index) && !skipFirstSegment) { |
addedSegment = true; |
++segCount; |