Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index 3d33a0af551508f5a92e8b69b0f9512036ecabc4..eebdb0d61bcc658ad568ac61224eafc1d929bf31 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1761,6 +1761,13 @@ bool LayoutBlock::recalcChildOverflowAfterStyleChange() |
} |
} |
+ return recalcPositionedDescendantsOverflowAfterStyleChange() || childrenOverflowChanged; |
+} |
+ |
+bool LayoutBlock::recalcPositionedDescendantsOverflowAfterStyleChange() |
+{ |
+ bool childrenOverflowChanged = false; |
+ |
TrackedLayoutBoxListHashSet* positionedDescendants = positionedObjects(); |
if (!positionedDescendants) |
return childrenOverflowChanged; |