commit | 4a19ae010b1c420cb3650a29a72a5ef6ac93f627 | [log] [tgz] |
---|---|---|
author | David Bokan <[email protected]> | Sat Sep 15 13:59:27 2018 |
committer | Commit Bot <[email protected]> | Sat Sep 15 13:59:27 2018 |
tree | 70ce69f057faa12e991326b5f1116fa91b7bbc59 | |
parent | fd680447881449fba2edcf0589320e7253719212 [diff] |
[blink-gen-property-trees] Fix NonFastScrollRegion This CL fixes non-fast-scroll-region when blink-gen-property-trees is turned on. NonFastScrollRegions are added onto a cc::Layer to specify that scrolling within the region must be handled on the main thread (for example, becauser there's a non-composited scroller there). Pre-BGPT, these were copied from the cc::Layer to the cc::ScrollNode during property tree building. With BGPT, the property trees are built in Blink but the NonFastScrollRegion is now only stored on the cc::Layer. See disucssion in the bug for the reasoning. This patch makes the compositor read the regions off the cc::Layer rather than the ScrollNode. This requires the ability to get a Layer given a ScrollNode. We add a map in LayerTreeImpl from element_id to scrollable LayerImpls for this reason. Bug: 877576 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux-blink-gen-property-trees;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Id9f545d50b7a90177c21b60668a6d93f3afb2106 Reviewed-on: https://chromium-review.googlesource.com/1223248 Reviewed-by: Philip Rogers <[email protected]> Commit-Queue: Philip Rogers <[email protected]> Cr-Commit-Position: refs/heads/master@{#591586}
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 .