|
Enforce clearing renderers' paint invalidation state
The ASSERT checks that no flags cleared by clearPaintInvalidationState()
is still set up after calling repaint-after-compositing-update.
The ASSERT is skipped for SVG subtree as we have an optimization that
skips them. We could reproduce the exact condition but it seems not
very useful to do so.
The change caught several bugs (yay!):
- one in shouldCheckForPaintInvalidationAfterLayout()
that made the ASSERT trip on fast/repaint/table-row.html.
- one where setShouldDoFullPaintInvalidationAfterLayout didn't
mark the containing block chain for invalidation.
BUG= 385169
R=dsinclair@chromium.org, leviw@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178719
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+128 lines, -37 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/repaint/resize-repaint-expected.txt
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/css3/flexbox/repaint-column-reverse-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/box-shadow/negative-shadow-box-expand-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/box-shadow/negative-shadow-box-shrink-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/add-table-overpaint-expected.txt
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/box-shadow-inset-repaint-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/content-into-overflow-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/overflow-into-content-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/repaint-table-row-in-composited-document-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/table-row-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/table-section-repaint-expected.txt
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/transform-disable-layoutstate-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/block-no-inflow-children-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/bugzilla-5699-expected.txt
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/bugzilla-6278-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/make-children-non-inline-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/outline-change-invalidation-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/selection-clear-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/stacked-diacritics-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/table-collapsed-border-expected.txt
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/table-shrink-row-repaint-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/custom/use-setAttribute-crash-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBox.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
4
5
|
5 chunks |
+55 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 28 (0 generated)
|