[Webkit-unassigned] [Bug 266939] Prevent overflow in LayoutUnit operator++
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 29 21:13:43 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266939
--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Latest code in Chromium:
value_ = base::ClampAdd(value_, kFixedPointDenominator);
where `ClampAdd` is:
BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Add, +, +=)
__
is it similar to `std::clamp`?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231230/d282d4ba/attachment.htm>
More information about the webkit-unassigned
mailing list