DescriptionAdd static root property tree nodes [spv2]
Slimming paint v2 (SPV2) initially had root property tree nodes on the
FrameView. This approach required some contortions when the root-layer-
scrolls codepath was added because LayoutView needed to store the root
nodes.
This patch adds static root paint property tree nodes but only uses
them on FrameView. A followup patch will switch the root-layer-scrolls
codepath to use this approach as well.
Because the root nodes can no longer be looked up off the FrameView,
a cache of the entire property tree state has been added to FrameView
(totalPropertyTreeStateForContents). This is similar to
LocalBorderBoxProperties on ObjectPaintProperties, and a followup patch
will refactor LocalBorderBoxProperties to use PropertyTreeState as well.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
BUG=645615
Committed: https://crrev.com/a518f5340802393f8bdaa6b3d376dc5482049351
Cr-Commit-Position: refs/heads/master@{#420577}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Address reviewer comments and fix a test #
Total comments: 1
Patch Set 3 : Restore PaintPropertyTreeGraphBuilder root node printing #Messages
Total messages: 23 (12 generated)
|