Chromium Code Reviews
DescriptionInflate dirty rect by 1 pixel on a high DPI display
On a high dpi display, putImageData leaves visible artifacts around the
affected area's border.
This CL fixes it in the way that when there is antialias involved, the
dirty rect is inflated by 1 pixel.
Locally we can see this bug goes away with this fix on a retina display.
Note that this bug doesn't repro with our layout test. So a manual
test is added to prevent regression.
BUG=609820
Committed: https://crrev.com/0baf3521c90b2efda95e33c5ed26cc2c51423381
Cr-Commit-Position: refs/heads/master@{#394286}
Patch Set 1 #Patch Set 2 : adding layout test for debugging #
Total comments: 2
Patch Set 3 : move layout test to ManualTests #
Total comments: 1
Patch Set 4 : address comment #Patch Set 5 : make inflation happen only when it is a hidpi display #Patch Set 6 : nullcheck on page() #
Messages
Total messages: 24 (11 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||