| Index: third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
|
| index 9fc6eb415709866be19d84b32da0d611494ecd9c..caa76258a55733d2fc5a54b0bebd953a1ede6d11 100644
|
| --- a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
|
| @@ -326,15 +326,8 @@ void TableLayoutAlgorithmFixed::willChangeTableLayout()
|
| // (see calcWidthArray above.) This optimization is preferred to always
|
| // computing the logical widths we never intended to use.
|
| m_table->recalcSectionsIfNeeded();
|
| - for (LayoutTableSection* section = m_table->topNonEmptySection(); section; section = m_table->sectionBelow(section)) {
|
| - for (unsigned i = 0; i < section->numRows(); i++) {
|
| - LayoutTableRow* row = section->rowLayoutObjectAt(i);
|
| - if (!row)
|
| - continue;
|
| - for (LayoutTableCell* cell = row->firstCell(); cell; cell = cell->nextCell())
|
| - cell->setPreferredLogicalWidthsDirty();
|
| - }
|
| - }
|
| + for (LayoutTableSection* section = m_table->topNonEmptySection(); section; section = m_table->sectionBelow(section))
|
| + section->markAllCellsWidthsDirtyAndOrNeedsLayout(LayoutTableSection::MarkDirtyOnly);
|
| }
|
|
|
| } // namespace blink
|
|
|