commit | fcd93b4edee19058ed1352e6e10b684a789cbc21 | [log] [tgz] |
---|---|---|
author | Andrey Lushnikov <lushnikov@chromium.org> | Fri Oct 20 01:19:33 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 20 01:19:33 2017 |
tree | 54e011e88be57b77c54d45fa34ee847b32f623cd | |
parent | a7e11db759a5d16fdd641f79489ae060687572b3 [diff] |
DevTools: fix screenshot clipping on retina displays Currently, computation of screenshot dimensions has a rounding error that surfaces on retina displays. This patch starts rounding screenshot dimensions up and then truncating them if necesseary. Bug: chromium:763657 Change-Id: I8953c32af76d216893fb43a62eaa440a15e2652a Reviewed-on: https://chromium-review.googlesource.com/726746 Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Cr-Commit-Position: refs/heads/master@{#510285}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .