diff options
author | Mike Klein <mtklein@chromium.org> | 2014-09-12 12:17:25 -0400 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2014-09-12 12:17:25 -0400 |
commit | 11fca3f29f0117eda798c67fafde40465d9903e1 (patch) | |
tree | 593787cfdeee46740538df5be224040ee7bba005 /src | |
parent | 83658305a1bda2d862f50145ecf5cb697b575e86 (diff) |
Add more debugging for newly failing assert (DM on Xoom bots).
BUG=skia:
Review URL: https://codereview.chromium.org/568823002
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkGeometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp index 646dfb05b9..254f79bf04 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); if (r == 0) { // catch underflow if numer <<<< denom return 0; } |