| Index: third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| index 7c9b6d64fa861c825546e3a1dac926050a29bc55..3d9027608b836b33b4362536685fbd964eb4b699 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| @@ -441,17 +441,17 @@ void LayoutTable::layout()
|
| if (simplifiedLayout())
|
| return;
|
|
|
| + SubtreeLayoutScope layouter(*this);
|
| +
|
| // Note: LayoutTable is handled differently than other LayoutBlocks and the LayoutScope
|
| // must be created before the table begins laying out.
|
| - TextAutosizer::LayoutScope textAutosizerLayoutScope(this);
|
| + TextAutosizer::LayoutScope textAutosizerLayoutScope(this, &layouter);
|
|
|
| recalcSectionsIfNeeded();
|
| // FIXME: We should do this recalc lazily in borderStart/borderEnd so that we don't have to make sure
|
| // to call this before we call borderStart/borderEnd to avoid getting a stale value.
|
| recalcBordersInRowDirection();
|
|
|
| - SubtreeLayoutScope layouter(*this);
|
| -
|
| // If any table section moved vertically, we will just issue paint invalidations for everything from that
|
| // section down (it is quite unlikely that any of the following sections
|
| // did not shift).
|
|
|