commit | 85f0d5d6e6a8ae2d5bdfb784fdf426a89dad2c0e | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Tue Oct 06 10:47:52 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 06 10:47:52 2015 -0700 |
tree | 1e38add1f4af36a0b8270239775326d5d4116868 | |
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