diff options
author | bokan@chromium.org <bokan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-20 16:04:19 +0000 |
---|---|---|
committer | bokan@chromium.org <bokan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-20 16:04:19 +0000 |
commit | 5dbdf37eb6e067f65e9831a97c8a9dd5218c5a12 (patch) | |
tree | 99386d3277a4152210b6eab1f7dc2df71aebe007 /.gn | |
parent | a30be86ee3fe417808e8257301d4dbfcfc57127d (diff) | |
download | chromium_src-5dbdf37eb6e067f65e9831a97c8a9dd5218c5a12.zip chromium_src-5dbdf37eb6e067f65e9831a97c8a9dd5218c5a12.tar.gz chromium_src-5dbdf37eb6e067f65e9831a97c8a9dd5218c5a12.tar.bz2 |
Fixed rounding issue on scrollbar rasterization.
Changed the painting method to translate the canvas back to the
origin before performing the scale to prevent losing pixels due
to rounding. Also made the it take the layer-space rect as a
parameter, instead of trying to reconstruct it from the
(possibly-clamped) content-rect, and calculate the layer-space
to content-space scaling factor directly from rects.
BUG=336534
Review URL: https://codereview.chromium.org/150603004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to '.gn')
0 files changed, 0 insertions, 0 deletions