diff options
author | scroggo <scroggo@google.com> | 2015-10-06 10:47:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-06 10:47:52 -0700 |
commit | 85f0d5d6e6a8ae2d5bdfb784fdf426a89dad2c0e (patch) | |
tree | 1e38add1f4af36a0b8270239775326d5d4116868 /bench/MorphologyBench.cpp | |
parent | 8b2bc252faed7c751cf9248c3833c0631f498b7d (diff) |
Allow SkIcoCodec to fail due to conversion
Even if the client chooses dimensions that were suggested by
SkIcoCodec, it is possible for the color conversion to be incorrect,
so it can still reach the exit case of kInvalidConversion.
For example, when running nanobench, we attempt to decode the image
to Alpha_8, which the codec does not support. This allows running
nanobench in debug mode without asserting.
BUG=skia:3418
Review URL: https://codereview.chromium.org/1389943002
Diffstat (limited to 'bench/MorphologyBench.cpp')
0 files changed, 0 insertions, 0 deletions