Index: src/pathops/SkPathOpsQuad.cpp |
diff --git a/src/pathops/SkPathOpsQuad.cpp b/src/pathops/SkPathOpsQuad.cpp |
index 1bd7796d968527b3e3e04cef1b1890cb7d99d3ef..63e20388dd8edab2d5c5c3bd1b8457359980a9cb 100644 |
--- a/src/pathops/SkPathOpsQuad.cpp |
+++ b/src/pathops/SkPathOpsQuad.cpp |
@@ -122,7 +122,7 @@ int SkDQuad::RootsReal(const double A, const double B, const double C, double s[ |
} |
/* normal form: x^2 + px + q = 0 */ |
const double p2 = p * p; |
- if (!AlmostEqualUlps(p2, q) && p2 < q) { |
+ if (!AlmostDequalUlps(p2, q) && p2 < q) { |
return 0; |
} |
double sqrt_D = 0; |
@@ -131,7 +131,7 @@ int SkDQuad::RootsReal(const double A, const double B, const double C, double s[ |
} |
s[0] = sqrt_D - p; |
s[1] = -sqrt_D - p; |
- return 1 + !AlmostEqualUlps(s[0], s[1]); |
+ return 1 + !AlmostDequalUlps(s[0], s[1]); |
} |
bool SkDQuad::isLinear(int startIndex, int endIndex) const { |