Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer
base::clamp()
over std::clamp()
This CL swaps out use of `std::clamp()` within `/media/gpu` in preference to its `//base` counterpart. The former is currently banned by Chromium style, and the latter comes with some extra `CHECK()`s. See also: styleguide/c++/c++-features.md#std_clamp-banned This CL was uploaded by git cl split. R=hiroh@chromium.org Bug: 1320547 Change-Id: I7629fe607a49ef020d45baf3e5bcd69c64236ded Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3612642 Auto-Submit: Kalvin Lee <kdlee@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/main@{#997509}
- Loading branch information