commit | d1d05d02de7519c777358ce926c007a7222449d6 | [log] [tgz] |
---|---|---|
author | fmalita <[email protected]> | Fri Apr 01 14:26:10 2016 |
committer | Commit bot <[email protected]> | Fri Apr 01 14:27:24 2016 |
tree | 6c41342ef2ea05385bf1a0d4f36c0969f8796ec3 | |
parent | 39f00fb6ba430547a155098e760b5452a4e7ae0e [diff] |
[SVG] Compensate for container size snapping BoxPainter rounds its box rect coordinates to ensure optimal alignment and minimize AA bleed. SVGRootPainter attempts to do the same, but it only adjusts the offset. Since int-snapping may also change the size, the SVG content transform needs to take this residual scale into account (such that it maps onto the full int-snapped area). BUG=599095 [email protected],[email protected],[email protected] Review URL: https://codereview.chromium.org/1847983002 Cr-Commit-Position: refs/heads/master@{#384580}