DescriptionUse saturated arithmetic in NinePieceImageGrid to avoid overflow
This is a simple patch to avoid unnecessary overflow when adding
widths together.
BUG=693010
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2705653004
Cr-Commit-Position: refs/heads/master@{#451485}
Committed: https://chromium.googlesource.com/chromium/src/+/9c78072f8bfee9cf61c42f3385d1ff9d7dab22a6
Patch Set 1 #
Messages
Total messages: 17 (9 generated)
|