Descriptionui: Fix NinePatchPainter to work in physical pixels.
This fixes NinePatchPainter to do layout in physical pixels after the
change to use slimming-paint in the ui compositor. Instead of using
the matrix on the canvas (which won't be meaningful for scale), it uses
the gfx::Canvas::SaveAndUnscale() method to move into a physical space
and do layout there.
R=oshima, sky
BUG=539496
Committed: https://crrev.com/4bfbb34d989ec59f138b3589e956a3947c139ec3
Cr-Commit-Position: refs/heads/master@{#356983}
Patch Set 1 : ninepatchscale: . #Patch Set 2 : ninepatchscale: . #
Total comments: 2
Patch Set 3 : ninepatchscale: noearlyout #Patch Set 4 : ninepatchscale: tests #
Total comments: 4
Patch Set 5 : ninepatchscale: testreview #
Dependent Patchsets: Messages
Total messages: 24 (7 generated)
|