Update rounding/clamping comments on sk_linear_to_srgb().
authormtklein <mtklein@chromium.org>
Tue, 19 Jul 2016 20:36:03 +0000 (13:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 Jul 2016 20:36:03 +0000 (13:36 -0700)
commitd1bd2082c59826b5f54cdbc7354f91fe033ece41
tree7829c8114e8d815edb61b8a1fb78d3e0127f58bc
parent4bcb4c7a250f1bfb2867a181673c47cbd4335ccd
Update rounding/clamping comments on sk_linear_to_srgb().

Rounding is enough.  No need for an explicit clamp if the inputs are in range.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2161223002

Review-Url: https://codereview.chromium.org/2161223002
src/core/SkSRGB.h
tests/SRGBTest.cpp