commit | bf361d3ba2ed9cd5a3da827ca0f7ef0d44b50410 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Wed Jan 20 08:12:02 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jan 20 08:12:02 2016 -0800 |
tree | 5fec438cfd7c39cf834c9759614b8f00e42dbdb2 | |
parent | b59d1bc7a8596f346d57a9cfcd461dddc6d75edb [diff] |
remove fragile assert The assert basically wants the following to always be true (but it aint) floor(int + 0.5 + float) == floor(0.5 + float) + int ... where int + 0.5 happens first, and then we add the float. BUG=skia:4825 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1609873003 Review URL: https://codereview.chromium.org/1609873003