Chromium Code Reviews
DescriptionAdd flag for tracking descendant paint property updates
This patch adds a flag for tracking whether a descendant needs a
paint property update. When marking an object as needing a paint
property update, we now set this flag for all ancestors. This flag
will be used to stop the paint property update (and, prepaint tree
walk) entirely if no descendant needs an update.
This flag is similar to layout's |normalChildNeedsLayout| flag, and
paint invalidation's |childShouldCheckForPaintInvalidation| flag.
BUG=645667
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/2459701934af4c8297ee26d351a1fbf9596c6bd5
Cr-Commit-Position: refs/heads/master@{#434080}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Private setDescendantNeedsPaintPropertyUpdate #Patch Set 3 : Privatize setDescendantNeedsPaintPropertyUpdate #Patch Set 4 : Address Xianzhu's comments #
Total comments: 1
Messages
Total messages: 20 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||