| 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 6d1bffb13fc7f102b76d0f737e0c55dc765ead2b..84442225a852c70551f0488ba89858b3fd3683a6 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| @@ -418,21 +418,20 @@ void LayoutTable::layout()
|
| {
|
| ASSERT(needsLayout());
|
| LayoutAnalyzer::Scope analyzer(*this);
|
| + SubtreeLayoutScope layouter(*this);
|
|
|
| - if (simplifiedLayout())
|
| + if (simplifiedLayout(&layouter))
|
| return;
|
|
|
| // 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).
|
|
|