skia2/modules
Brian Osman 788b91678f Remove SkTMin and SkTMax
Use std::min and std::max everywhere.

SkTPin still exists. We can't use std::clamp yet, and even when
we can, it has undefined behavior with NaN. SkTPin is written
to ensure that we return a value in the [lo, hi] range.

Change-Id: I506852a36e024ae405358d5078a872e2c77fa71e
Docs-Preview: https://skia.org/?cl=269357
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269357
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-02-07 18:40:09 +00:00
..
canvaskit Move Make functions for corner and discrete path effects into namespaces. 2020-02-04 19:48:04 +00:00
particles Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
pathkit Fix wasm builds 2020-01-28 19:03:49 +00:00
skottie Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
skparagraph Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
skplaintexteditor Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
skresources use std::make_unique 2019-12-12 22:32:45 +00:00
sksg [sksg] Clean up public headers 2020-01-30 21:42:59 +00:00
skshaper Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00