| 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 7e8e1228e73f6981aec8d7c559cb5f9e5950b987..57aa6dcf1e056498a0e00bdd8b6937b45ba809fa 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| @@ -409,9 +409,9 @@ bool LayoutTable::recalcChildOverflowAfterStyleChange()
|
| ASSERT(childNeedsOverflowRecalcAfterStyleChange());
|
| clearChildNeedsOverflowRecalcAfterStyleChange();
|
|
|
| - // If the table needs layout the sections we keep pointers to may have gone away and
|
| + // If the table sections we keep pointers to have gone away then the table will be rebuilt and
|
| // overflow will get recalculated anyway so return early.
|
| - if (needsLayout())
|
| + if (needsSectionRecalc())
|
| return false;
|
|
|
| bool childrenOverflowChanged = false;
|
|
|