Index: src/pathops/SkPathOpsPoint.h |
diff --git a/src/pathops/SkPathOpsPoint.h b/src/pathops/SkPathOpsPoint.h |
index ad959b6669988fd12818286a5ad15f4b3e00d7bd..045b1b4d46a72ad12fe47e93cde7662c99afdc27 100644 |
--- a/src/pathops/SkPathOpsPoint.h |
+++ b/src/pathops/SkPathOpsPoint.h |
@@ -102,7 +102,7 @@ struct SkDPoint { |
bool approximatelyEqual(const SkDPoint& a) const { |
double denom = SkTMax(fabs(fX), SkTMax(fabs(fY), |
SkTMax(fabs(a.fX), fabs(a.fY)))); |
- if (denom == 0) { |
+ if (precisely_zero(denom)) { |
return true; |
} |
double inv = 1 / denom; |