|
Improvement handling of background and outline paint phases
- Add 'Only' postfix to PaintPhaseSelfBlockBackground
PaintPhaseDescendantBlockBackgrounds, PaintPhaseSelfOutline
and PaintPhaseDescendantOutlines;
- Add shouldPaintSelfBlockBackground(), shouldPaintSelfOutline(),
shouldPaintDescendantBlockBackgrounds(),
shouldPaintDescendantOutlines();
- Use PaintInfo::forDescendants();
- Fix improper handling of the paint phases in TablePainter,
TableSectionPainter and TableRowPainter. Previously they paint
descendant outlines in PaintPhaseSelfOutlineOnly and ignore
PaintPhaseDescendantOutlinesOnly.
- Add checks/early returns for PaintPhaseSelfBlockBackgroundOnly
and PaintPhaseSelfOutlineOnly to avoid execution of unnecessary
code.
BUG= 574938
Committed: https://crrev.com/7cbfbcef3ed11feafc3f77c0225b73008abb6d85
Cr-Commit-Position: refs/heads/master@{#369657}
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+169 lines, -135 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
View
|
1
2
3
|
6 chunks |
+32 lines, -34 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/BoxClipper.cpp
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/InlineFlowBoxPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/InlinePainter.cpp
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
View
|
1
2
3
4
5
6
|
3 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInfo.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInfoTest.cpp
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
View
|
1
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintPhase.h
|
View
|
|
3 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PartPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/TablePainter.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+25 lines, -29 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/TableRowPainter.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
View
|
1
2
|
7 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/TextPainterTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 17 (7 generated)
|