Index: src/core/SkStroke.cpp |
diff --git a/src/core/SkStroke.cpp b/src/core/SkStroke.cpp |
index b4af9185937c5c4609b6cfa5c132578b4eb5f0ce..eda26d024fae5ad12243a8a3e0df8a78b1094e44 100644 |
--- a/src/core/SkStroke.cpp |
+++ b/src/core/SkStroke.cpp |
@@ -1056,7 +1056,9 @@ SkPathStroker::ResultType SkPathStroker::intersectRay(SkQuadConstruct* quadPts, |
} |
// check to see if the denomerator is teeny relative to the numerator |
bool validDivide = SkScalarAbs(numerA) * SK_ScalarNearlyZero < SkScalarAbs(denom); |
- SkASSERT(!SkScalarNearlyZero(denom / numerA) == validDivide); |
+// the divide check is the same as checking if the scaled denom is nearly zero |
+// (commented out because on some platforms the two are not bit-identical) |
+// SkASSERT(!SkScalarNearlyZero(denom / numerA) == validDivide); |
if (validDivide) { |
if (kCtrlPt_RayType == intersectRayType) { |
numerA /= denom; |