commit | c20d6706cc0220956c43a020a1a71c4e73a468e0 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Jun 21 12:03:37 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 21 12:03:37 2016 -0700 |
tree | e9af6669411e11164888e4bb44d20788277ea98a | |
parent | d733ddceef018d5ec7d715b059cee05b5b3aa304 [diff] |
Cherry-pick 875e13ca0 to M52. TBR= Original description: Simplify mask/clip intersection, making sure to explicitly check for an empty mask. Previously we were only asserting the mask wasn't empty, which isn't necessarily true when we're given pathological float coordinates like +Inf or NaN. A local run of nanobench --match text_ was not able to show this is faster or slower. This patch fixed this first Chrome bug on my desktop, and the second is probably a dupe. BUG=chromium:619378,chromium:613912 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2073873002 Review-Url: https://codereview.chromium.org/2073873002 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=2085023002 NOTREECHECKS=true NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2085023002