Remove LayoutBox::AbsoluteContentBox*().
AbsoluteContentBox() used to cast directly from float to int, and if the float value was sufficiently large, we'd end up with a negative integer value. Changed the two former callsites to using PhysicalContentBoxRect() + LocalToAbsolute() instead. AbsoluteContentBoxOffset() was unused. Bug: 888510 Change-Id: Id1447973f23cabf40a45180aa95a69ba402688c6 Reviewed-on: https://chromium-review.googlesource.com/1245782Reviewed-by:Philip Rogers <pdr@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#595758}
Showing
Please register or sign in to comment