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
Review URL: https://codereview.chromium.org/1424983005
Cr-Commit-Position: refs/heads/master@{#356983}
(cherry picked from commit 4bfbb34d989ec59f138b3589e956a3947c139ec3)
Committed: https://chromium.googlesource.com/chromium/src/+/0a76a7fdc9332b043ec868602f5a47638e381d44
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|