Index: src/pathops/SkReduceOrder.cpp |
diff --git a/src/pathops/SkReduceOrder.cpp b/src/pathops/SkReduceOrder.cpp |
index 43a91901f76f9b4539545340d206d946a528c002..52a19d6138aaa38dbe257090cebaeb60ba283601 100644 |
--- a/src/pathops/SkReduceOrder.cpp |
+++ b/src/pathops/SkReduceOrder.cpp |
@@ -126,7 +126,7 @@ static int check_quadratic(const SkDCubic& cubic, SkDCubic& reduction) { |
double sideAx = midX - cubic[3].fX; |
double sideBx = dx23 * 3 / 2; |
if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) |
- : !AlmostEqualUlps(sideAx, sideBx)) { |
+ : !AlmostEqualUlps_Pin(sideAx, sideBx)) { |
return 0; |
} |
double dy10 = cubic[1].fY - cubic[0].fY; |
@@ -135,7 +135,7 @@ static int check_quadratic(const SkDCubic& cubic, SkDCubic& reduction) { |
double sideAy = midY - cubic[3].fY; |
double sideBy = dy23 * 3 / 2; |
if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) |
- : !AlmostEqualUlps(sideAy, sideBy)) { |
+ : !AlmostEqualUlps_Pin(sideAy, sideBy)) { |
return 0; |
} |
reduction[0] = cubic[0]; |