DescriptionLess type conversion for NinePieceImage painting
Avoid float -> int -> float conversion when passing through the
GraphicsContext layer, the ints are immediately converted back to
floats anyway in GraphicsContext::drawTiledImage().
No functional change expected as along as the position of the
NinePieceGrid is pixel-aligned, but bug is 66498 moving along and will
enable sub-pixel positioning of the background image geometries.
BUG=561519
Committed: https://crrev.com/31ab6a1707930cf411a9893fa46b3f97b3147450
Cr-Commit-Position: refs/heads/master@{#362350}
Patch Set 1 #
Messages
Total messages: 15 (8 generated)
|