DescriptionAllow 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
Committed: https://skia.googlesource.com/skia/+/85f0d5d6e6a8ae2d5bdfb784fdf426a89dad2c0e
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 6 (2 generated)
|