|
Replace LayoutTableCell::AbsoluteColumnIndex() with EffectiveColumnIndex()
We never use LayoutTableCell::AbsoluteColumnIndex() without converting
it to effective column index. Replace it with EffectiveColumnIndex()
to simplify callers.
Also add EffectiveColumnIndexOfAfterCell() and ColElement() to reduce
duplicated code, and replace LayoutTable::ColElementAtAbsoluteColumn()
with LayoutTable::ColElementAtEffectiveColumn().
BTW fixed several bugs that effective column index was passed to
LayoutTable::ColElementAtAbsoluteColumn().
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+551 lines, -237 lines) |
Patch |
|
M |
third_party/WebKit/Source/core/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTable.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+20 lines, -20 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
View
|
1
2
3
4
5
6
7
|
13 chunks |
+88 lines, -91 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableCell.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
View
|
1
2
3
4
5
6
7
|
10 chunks |
+47 lines, -64 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableCol.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableSection.h
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
View
|
1
2
3
4
5
6
7
|
14 chunks |
+21 lines, -15 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/LayoutTableTest.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+239 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/accessibility/AXTable.cpp
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp
|
View
|
1
2
3
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/accessibility/AXTableColumn.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 36 (29 generated)
|