Index: src/effects/SkDashPathEffect.cpp |
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp |
index f866ea074e4592871302eecbddb050ba8b3e9279..8cd703f62fa16df323e8ad5daa70ae7372058300 100644 |
--- a/src/effects/SkDashPathEffect.cpp |
+++ b/src/effects/SkDashPathEffect.cpp |
@@ -94,7 +94,7 @@ static bool cull_line(SkPoint* pts, const SkStrokeRec& rec, |
} |
SkASSERT(minX < maxX); |
- if (maxX < bounds.fLeft || minX > bounds.fRight) { |
+ if (maxX <= bounds.fLeft || minX >= bounds.fRight) { |
return false; |
} |
@@ -125,7 +125,7 @@ static bool cull_line(SkPoint* pts, const SkStrokeRec& rec, |
} |
SkASSERT(minY < maxY); |
- if (maxY < bounds.fTop || minY > bounds.fBottom) { |
+ if (maxY <= bounds.fTop || minY >= bounds.fBottom) { |
return false; |
} |