[ScrollUnification] PropertyTreeBuilder makes composited nodes
The |is_composited| was added to ScrollNodes in https://crrev.com/6ce0a16d1e0 as a way to tell which ScrollNodes are able to scroll directly on the compositor by changing the transform tree. When the scroll unification flag is turned on, scroll nodes without this bit set avoid mutating the transform tree and instead rely on a commit from the main thread for a scroll to be realized. PropertyTreeBuilder creates property trees for the UI compositor and some tests based on the layer tree. The CL above did not update this method of tree generation to set this bit. Since the nodes are built from layers, all nodes should be considered composited in this case. This change fixes tests when the scroll unification flag is turned on. Bug: 1086625 Change-Id: I3a3552a5c17f1f69e038657c1f267b2a61f7a070 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2222892 Commit-Queue: David Bokan <bokan@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#774277}
Showing
Please register or sign in to comment