Changes in PaintLayer and PaintLayerPainter for synchronized painting
- Simplify ancestor marking of needsRepaint flags, because we have synchronzied whole layer-tree cleaning of the flags after painting. This removes the dependency of needs repaint flag to self-painting flag. - Don't output subsequence for non-self-painting layers. Previously we output subsequence for non-self-painting layers which has self-painting descendants. This reduces number of subsequences. - Don't output subsequences when printing because they are no use. - Don't output subsequence when painting overlay scrollbars to avoid duplicated display item ids and another tree of subsequences which just enclose overlay scrollbars. Covered by existing tests when synchronized painting is enabled. BUG=536999 Review URL: https://codereview.chromium.org/1424933004 Cr-Commit-Position: refs/heads/master@{#357007}
Showing
Please register or sign in to comment