|
Combine LayoutObject::previousPaintOffset and paintOffset in paint properties
We save previousPaintOffset for all objects and it's the same as the
paint offset saved in paint properties if any. Now save only one copy.
Also fix a spv2 paint invalidation bug about paint offset change:
previously we checked paint offset change too late. Now check it at
the beginning of PaintInvalidator::invalidatePaintIfNeeded() and
convert it into a full paint invalidation reason. In this way, we
no longer need to pass old and new paint offsets in the context.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2614093002
Cr-Commit-Position: refs/heads/master@{#442094}
Committed: https://chromium.googlesource.com/chromium/src/+/a439a069a35766fd06c5c91b72cd22f42d2787bc
Total comments: 9
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+234 lines, -335 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/virtual/spv2/paint/invalidation/margin-expected.txt
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutObject.h
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/FindPropertiesNeedingUpdate.h
|
View
|
|
4 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
View
|
1
2
|
1 chunk |
+8 lines, -15 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
|
View
|
|
6 chunks |
+13 lines, -31 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
|
View
|
|
1 chunk |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInvalidator.h
|
View
|
1
2
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
View
|
1
2
3
4
5
|
9 chunks |
+19 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
View
|
|
4 chunks |
+14 lines, -20 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+21 lines, -19 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
View
|
1
2
3
4
5
|
31 chunks |
+113 lines, -182 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 38 (29 generated)
|