commit | 47a540f503bc722393b61c4b822e95b17f200125 | [log] [tgz] |
---|---|---|
author | Ben Wagner <benjaminwagner@google.com> | Mon Sep 18 13:20:32 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Sep 18 18:26:13 2017 +0000 |
tree | 529b4a201b828082b5cadae57d8b9930c9700faa | |
parent | 6d1aaca8276ff4ae2e10870f7e2c3222907cc4aa [diff] |
Change SkScalarTruncToInt to saturate. This is the same behavior as SkScalarFloorToInt, SkScalarCeilToInt, and SkScalarRoundToInt. Bug: skia:4632 Change-Id: Iec454e841b05c5b10f335b5b089718db56740323 Reviewed-on: https://skia-review.googlesource.com/47400 Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Ben Wagner <benjaminwagner@google.com>