commit | 39ef556d7c6ea15f0c6afd7707d338cdfd41084a | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Tue Jul 11 11:59:48 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jul 11 16:25:21 2017 +0000 |
tree | d0e6b108af701311e03047614709ce1d71aee0c7 | |
parent | 64778d9f275d8ce3df8f4ab39ff334b7ef5b70d3 [diff] |
Correctly set encoder options according to color space The default value is kRespect, so we were always using that value. Replace that with more explicit (and correct) logic. Bug: skia: Change-Id: I6984a96fa16033f41824851cade3ff046b0fae94 Reviewed-on: https://skia-review.googlesource.com/22260 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com>