commit | f2b340fc885ad2a12d2d73974eff9c8f4c94192c | [log] [tgz] |
---|---|---|
author | djsollen <djsollen@google.com> | Fri Jan 29 08:51:04 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Jan 29 08:51:04 2016 -0800 |
tree | 1fbe8cefea121d557efb099ceea8c5fae0ac5e1e | |
parent | 2a1d401bf2d500bab225b78a20cb6f16b2c67efb [diff] [blame] |
Consolidate SK_CRASH and sk_throw into SK_ABORT TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1648343003 Review URL: https://codereview.chromium.org/1648343003
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index 400b7ab..f3c2628 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp
@@ -275,7 +275,7 @@ orig.set(pts, iter.conicWeight()); SkPoint quadPts[5]; int count = orig.chopIntoQuadsPOW2(quadPts, 1); - SK_ALWAYSBREAK(2 == count); + SkASSERT_RELEASE(2 == count); if (!check_edge_against_rect(quadPts[0], quadPts[2], rect, direction)) { return false;