Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.cpp

Issue 2884533002: Extract LayoutTableSection::CellStruct to a standalone class TableGridCell (Closed)
Patch Set: - Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
index 9448fff2169c44ad131092019088dc382bb9d14d..a2ae1a772a09b8625f14e5e8e2926f7fb5e86ab4 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
@@ -277,8 +277,8 @@ void TableSectionPainter::PaintObject(const PaintInfo& paint_info,
unsigned n_cols = layout_table_section_.NumCols(r);
for (unsigned c = dirtied_columns.Start();
c < n_cols && c < dirtied_columns.end(); c++) {
- const auto& cell_struct = layout_table_section_.CellAt(r, c);
- for (const auto* cell : cell_struct.cells) {
+ for (const auto* cell :
+ layout_table_section_.GridCellAt(r, c).Cells()) {
if (overflowing_cells.Contains(cell))
continue;
if (cell->RowSpan() > 1 || cell->ColSpan() > 1) {
« no previous file with comments | « third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698