view-android: use std::round() rather than floor
Using floor means the top/bottom layer and the content may get 1-pixel out of sync. Using round() helps avoid this. BUG=none TEST=none Change-Id: If5aa3445dbd0293c0f3e3ccbe7ad34bce4bbb62b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888130Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#710476}
Showing
Please register or sign in to comment