Clamp double to int instead of using static_cast.
Better overflow handling for CSSPrimitiveValue::Create. Bug: 904872 Change-Id: Ieafc28406497b4a676994efdc6515959549a7ba1 Reviewed-on: https://chromium-review.googlesource.com/c/1335527Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#607947}
Showing
Please register or sign in to comment