commit | 9c2212fa79e03ea7f3527bf4c30b3e6bbd560932 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Sat Jul 29 18:23:10 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Sat Jul 29 23:01:10 2017 +0000 |
tree | c8c00eb8ef3978310d67f44645460500d1a6b407 | |
parent | 28a586966d5862312ed9e1b8d7de25b25b0f1b48 [diff] |
Don't instantiate degenerate 2pt gradients We can catch the condition at construction time, no need to defer. Change-Id: I973b9e1b79998e2b334e3a91694c793882dfd65a Reviewed-on: https://skia-review.googlesource.com/26564 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Mike Klein <mtklein@google.com>