diff options
author | yoav <yoav@yoav.ws> | 2015-12-04 02:30:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-04 10:31:44 +0000 |
commit | e4518f06d1a860c5830ff96817ffe6bf71616e87 (patch) | |
tree | cc9b5ed843a82b0aa76ff44c3aec74bbd3878048 /ui/compositor/compositing_recorder.h | |
parent | 6f0549c2726c0a730a03437dd7d7e157e3a42b65 (diff) | |
download | chromium_src-e4518f06d1a860c5830ff96817ffe6bf71616e87.zip chromium_src-e4518f06d1a860c5830ff96817ffe6bf71616e87.tar.gz chromium_src-e4518f06d1a860c5830ff96817ffe6bf71616e87.tar.bz2 |
Avoid rounding down viewport dimensions in Media Queries
Viewport dimensions were assumed to be integer numbers, but that assumption
fails when zoom is taken into account, leading to compatibility issues.
This CL fixes that, by changing viewport dimensions to be treated as floats.
BUG=560874
Review URL: https://codereview.chromium.org/1496683002
Cr-Commit-Position: refs/heads/master@{#363181}
Diffstat (limited to 'ui/compositor/compositing_recorder.h')
0 files changed, 0 insertions, 0 deletions