commit | 7886995ae92a5fcd8f10ab19581678b38f7cc969 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Tue Apr 24 15:00:59 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Apr 24 19:38:16 2018 +0000 |
tree | 99939172d36fb31aea93f63e6a8e5a9e472e6937 | |
parent | 47728258b05a1ae040ed03aee53eabbaa0acbc5a [diff] |
Make SkColorSpace::Make(skcms_ICCProfile) stricter Don't do any modification to the incoming profile. Basically, if you want this to succeed, call skcms_EnsureUsableAsDestinationWithSingleCurve first. Change-Id: Iafe3fd3c82c2fb2cc0e42b1968a69bf605be241c Reviewed-on: https://skia-review.googlesource.com/123521 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Brian Osman <brianosman@google.com>