commit | 4e3ff78d476f0c254d4fd7a629dc809870e31dbe | [log] [tgz] |
---|---|---|
author | Stefan Zager <szager@chromium.org> | Thu Jun 14 10:22:48 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 14 10:22:48 2018 |
tree | 5ca796761185490f02f499a88a90a1584a19f1c0 | |
parent | 42c62276f6c54c5fd6e8142f4476568f03477243 [diff] |
[RootLayerScrolls] Cleanup Frame/Contents conversions. Conversion between 'frame' and 'contents' coordinate spaces is now a no-op. This CL settles on 'frame' as the term d'art for the coordinate space of the frame, so ViewportToContents becomes ViewportToFrame, and vice versa. Also, this adds a couple of missing float overrides for still-useful conversion methods. Arbitrarily converting between LayoutUnit and float can be a source of bugs. BUG=823365 R=skobes@chromium.org,bokan@chromium.org Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Id687f88988e6e27ea75027026377d9464bee3406 Reviewed-on: https://chromium-review.googlesource.com/1099996 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by: Steve Kobes <skobes@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#567214}
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 .