DescriptionSkip PaintPhaseDescendantBlockBackgroundsOnly phase if possible
Set containing self-painting layer's
needsPaintPhaseDescendantBlockBackground() if needed during paint
invalidation, and skip the phase of the layer during painting if
the flag is not set.
Also modified how TableSectionPainter and TableRowPainter handle
PaintPhaseSelfBlockBackgroundOnly to make this CL applicable to them.
Previously they ignored PaintPhaseSelfBlockBackgroundOnly and painted
their own backgrounds in PaintPhaseDescendantBlockBackgroundsOnly behind
cell. This conflicts with how LayoutBox::invalidatePaintIfNeeded() sets
needsPaintPhaseDescendantBlockBackground().
BUG=574938
TEST=PaintLayerPainterTest.PaintPhaseBlockBackground
Committed: https://crrev.com/99290b961c890e340db97b3d63028b3cf5511d32
Cr-Commit-Position: refs/heads/master@{#372730}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Rebase #
Total comments: 2
Patch Set 4 : Seperate out https://codereview.chromium.org/1646743002 #Patch Set 5 : Rebase #
Total comments: 2
Patch Set 6 : #
Messages
Total messages: 19 (7 generated)
|