diff options
author | Florin Malita <fmalita@chromium.org> | 2017-07-29 18:23:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-29 23:01:10 +0000 |
commit | 9c2212fa79e03ea7f3527bf4c30b3e6bbd560932 (patch) | |
tree | c8c00eb8ef3978310d67f44645460500d1a6b407 /src/shaders/SkBitmapProcShader.cpp | |
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>
Diffstat (limited to 'src/shaders/SkBitmapProcShader.cpp')
0 files changed, 0 insertions, 0 deletions