| 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..d760286c764da35a0367aef663161c8ddf79bf40 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(false /*markNeedsLayout*/);
|
| }
|
|
|
| } // namespace blink
|
|
|