Index: src/core/SkGeometry.cpp |
diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp |
index 646dfb05b9d4f8eddf59c3e0d8ea694c93fabcd3..254f79bf04b7730589452c4c0cd9daf0eea26d4e 100644 |
--- a/src/core/SkGeometry.cpp |
+++ b/src/core/SkGeometry.cpp |
@@ -102,7 +102,7 @@ static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) { |
if (SkScalarIsNaN(r)) { |
return 0; |
} |
- SkASSERT(r >= 0 && r < SK_Scalar1); |
+ SkASSERTF(r >= 0 && r < SK_Scalar1, "numer %f, denom %f, r %f", numer, denom, r); |
tfarina
2014/09/12 17:16:23
lgtm (rubber-stamp).
|
if (r == 0) { // catch underflow if numer <<<< denom |
return 0; |
} |