commit | 088e21ba652ceaa4abb4ba8cdd2ec1bc8afc32ed | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Wed Oct 05 09:28:42 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Oct 05 09:28:42 2016 -0700 |
tree | d85e228092824a9e721d5831947209842f2bdf1c | |
parent | c6618dd1dadeac8b47b81fbee108c42cca8ab166 [diff] |
Harden degenerate gradient context handling Certain inputs produce degenerate values at context creation time only. Detect such cases after context creation, and abort drawing by returning a null shader context instead. BUG=skia:5821 R=reed@google.com,brianosman@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2397473003 Review-Url: https://codereview.chromium.org/2397473003