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 489f9e7b81c8d949a80ad144dff54ad083846402..e8d57798fd5b37131a6932be541b97c2b07558e3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1925,6 +1925,12 @@ int LayoutBlock::columnGap() const |
return static_cast<int>(style()->columnGap()); |
} |
+void LayoutBlock::scrollbarsChanged(bool horizontalScrollbarChanged, bool verticalScrollbarChanged) |
+{ |
+ m_widthAvailableToChildrenChanged |= horizontalScrollbarChanged; |
+ m_heightAvailableToChildrenChanged |= verticalScrollbarChanged; |
+} |
+ |
void LayoutBlock::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const |
{ |
// Layout-contained elements don't consider their contents for preferred sizing. |