Always use SkColorSpace::Make(skcms_ICCProfile&) to create fallback color space
This factory rejects profiles with non-invertible XYZ matrices. The old code accepted those matrices, allowing the SkImage color space to have such a matrix. That led to failures when attempting to decode an image (and transform to that space). Bug: chromium:850354 Change-Id: I37de7ece181eeee0d6e8a5b389e6a6abf95e1ad3 Reviewed-on: https://chromium-review.googlesource.com/1091144Reviewed-by:Leon Scroggins <scroggo@chromium.org> Reviewed-by:
Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org> Commit-Queue: Brian Osman <brianosman@google.com> Cr-Commit-Position: refs/heads/master@{#565394}
Showing
Please register or sign in to comment