PaintInvalidationState::enclosingSelfPaintingLayer()
It was PaintInvalidationState::enclosingLayer(), but we actually need the enclosing self painting layer to set repaint flags. Later changes to optimize empty paint phases also need enclosing self painting layer. We don't need to specially handle multicol spanner in the new function because our paint invalidation of multicol spanner follows the true layer painting order. Instead we need to special handle multicol spanner in the assertion to check if the repaint flags are properly set on layers. This has been reviewed by mstensho@opera.com and chrishtr@chromium.org as part of https://codereview.chromium.org/1584493002/. TBR=mstensho@opera.com,chrishtr@chromium.org BUG=574938 Review URL: https://codereview.chromium.org/1629563003 Cr-Commit-Position: refs/heads/master@{#371475}
Showing
Please register or sign in to comment