Chromium Code Reviews
DescriptionMove clearPaintInvalidatinFlags after subtree walk
This allows we change paint invalidation flags using
setShouldDoFullPaintInvalidation() etc. during paint invalidation to
deal with some complex situations, for example:
- https://codereview.chromium.org/2430313004/ which sets paint
invalidation flag in LayoutTable::recalcCollapsedBordersIfNeeded().
Previously we clear flags before walking subtrees. If some descendant
set paint invalidation flags, we would also set flags along the ancestor
path causing dirty flags after paint invalidation.
This will be needed by several bug fixes and cleanups of paint
invalidation.
Also removed some redundant checks of slimmingPaintInvalidationEnabled
in PrePaintTreeWalker.
BUG=660195
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/6cd03514645fe54b0c2010e51a8adfdce7646db4
Cr-Commit-Position: refs/heads/master@{#431402}
Patch Set 1 #
Total comments: 2
Dependent Patchsets: Messages
Total messages: 23 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||