Index: src/pathops/SkDLineIntersection.cpp |
diff --git a/src/pathops/SkDLineIntersection.cpp b/src/pathops/SkDLineIntersection.cpp |
index 6fbac978b6e82d99a0e579cf8650524760b76b6a..71e2a064d5c952d2b470adaf05ca91446f2d2fbe 100644 |
--- a/src/pathops/SkDLineIntersection.cpp |
+++ b/src/pathops/SkDLineIntersection.cpp |
@@ -108,7 +108,7 @@ int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) { |
double ayBxLen = ayLen * bxLen; |
// detect parallel lines the same way here and in SkOpAngle operator < |
// so that non-parallel means they are also sortable |
- bool unparallel = fAllowNear ? NotAlmostEqualUlps(axByLen, ayBxLen) |
+ bool unparallel = fAllowNear ? NotAlmostEqualUlps_Pin(axByLen, ayBxLen) |
: NotAlmostDequalUlps(axByLen, ayBxLen); |
if (unparallel && fUsed == 0) { |
double ab0y = a[0].fY - b[0].fY; |