-
Michael Spang authored
Move the pixel to DIP conversion into root_window_bounds_transform. Also rename CreateInsetsAndScaleTransform to CreateInsetsTransform because UI scale in the transform is no longer supported. Moving the DIP conversion avoids flooring the bounds twice (during DIP conversion, and after rotation & insets). Bug: 1019015 Change-Id: Ia065b1f8f6892a193e7f545475e7c7ddbcd76f66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899835Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#712759}
2a4b44cc