commit | b4ae49937d837fd10841de92895e378eefb60817 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Thu Oct 18 11:16:14 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Oct 18 16:18:17 2018 +0000 |
tree | f51f5cdf7f9997a3e5f14a29990a6aa4279cc8ca | |
parent | f99a67403aff3eedd225b72005ce140ecf3ccac7 [diff] |
In makeColorSpace, hoist the null -> sRGB optimization Clean up all the onMakeColorSpace implementations a bit. Bug: skia: Change-Id: I31f32fa711a3af38bd697886379b23cc703cf864 Reviewed-on: https://skia-review.googlesource.com/c/162030 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>