commit | a0c6731b121abe248565e31e2ecd556d65a44336 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Fri Oct 16 09:49:07 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Oct 16 15:50:32 2020 +0000 |
tree | fa92eb6c7ec01be195258bc85e9e62ba98f95f86 | |
parent | 7db7139f40321161d3db4f2c4c7b478855d1e237 [diff] |
update SkTPin() - Reword the comment to explain how it differs from std::clamp(). - Document and test an alternative form using std::{min,max}. Change-Id: I3a97b98a15303478a5a7ff8d0536829f6d5f1586 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/327696 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Mike Klein <mtklein@google.com>