commit | 59c7a6e6e252359dfcd84dc82986354398e2e8c3 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Thu Aug 24 12:06:38 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Aug 24 21:29:47 2017 +0000 |
tree | 0965a6455f04a295a4e8c0f1439deae18f9d643a | |
parent | 6682ff2e1be13b4552c1a5330a0c3a88d2808f0c [diff] |
Make SkTFitsIn turn into less code. This changes the cases which require two compares into single compares by relying on squirrely bits of the C++ specification. Change-Id: I2c14e461b571bb94f586c14db4eaeadfd06b628b Reviewed-on: https://skia-review.googlesource.com/38220 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Klein <mtklein@google.com>