Index: Source/core/layout/LayoutFlexibleBox.cpp |
diff --git a/Source/core/layout/LayoutFlexibleBox.cpp b/Source/core/layout/LayoutFlexibleBox.cpp |
index dbf9907f2fa25b25293bc60b854d068877c04f2b..f50e5ce3b6efffe6daf032f353322e839c252228 100644 |
--- a/Source/core/layout/LayoutFlexibleBox.cpp |
+++ b/Source/core/layout/LayoutFlexibleBox.cpp |
@@ -584,9 +584,9 @@ LayoutPoint LayoutFlexibleBox::flowAwareLocationForChild(LayoutBox& child) const |
void LayoutFlexibleBox::setFlowAwareLocationForChild(LayoutBox& child, const LayoutPoint& location) |
{ |
if (isHorizontalFlow()) |
- child.setLocation(location); |
+ child.setLocationAndUpdateOverflowControlsIfNeeded(location); |
else |
- child.setLocation(location.transposedPoint()); |
+ child.setLocationAndUpdateOverflowControlsIfNeeded(location.transposedPoint()); |
} |
LayoutUnit LayoutFlexibleBox::mainAxisBorderAndPaddingExtentForChild(LayoutBox& child) const |