summaryrefslogtreecommitdiffstats
path: root/components/components_strings.grd
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2016-01-14 23:21:28 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-15 07:22:21 +0000
commit527b6a790ec3c821ec33ebd7019d347b8561a9d5 (patch)
tree224557ce2f190ba728db909656b207faf8e8328f /components/components_strings.grd
parentfdc5a2028505ca2b615f9045bff9c96d80e11906 (diff)
downloadchromium_src-527b6a790ec3c821ec33ebd7019d347b8561a9d5.zip
chromium_src-527b6a790ec3c821ec33ebd7019d347b8561a9d5.tar.gz
chromium_src-527b6a790ec3c821ec33ebd7019d347b8561a9d5.tar.bz2
Two small improvements to color_utils::HSLShift:
* Don't convert to HSL and back when it's not necessary. Doing so wastes time and can probably result in small changes to the color due to precision. * Round the final values instead of truncating them. This avoids biasing the color channel values downwards. BUG=none TEST=none Review URL: https://codereview.chromium.org/1587103004 Cr-Commit-Position: refs/heads/master@{#369699}
Diffstat (limited to 'components/components_strings.grd')
0 files changed, 0 insertions, 0 deletions