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 b3dd7c8af4931593b4bcdf1e0623b93d27e8154e..ffaac3ba83069f870eb5c3b811affb0ef9552635 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp |
@@ -424,9 +424,9 @@ bool LayoutTable::recalcChildOverflowAfterStyleChange() |
for (LayoutTableSection* section = topSection(); section; section = sectionBelow(section)) { |
if (!section->childNeedsOverflowRecalcAfterStyleChange()) |
continue; |
- childrenOverflowChanged |= section->recalcChildOverflowAfterStyleChange(); |
+ childrenOverflowChanged = section->recalcChildOverflowAfterStyleChange() || childrenOverflowChanged; |
} |
- return childrenOverflowChanged; |
+ return recalcPositionedDescendantsOverflowAfterStyleChange() || childrenOverflowChanged; |
} |
void LayoutTable::layout() |