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 a94b802454448b27c568397a5852d2d20216fa8d..85d7d2c6cb8469d8f0ed68254cdee032dbb623c8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1928,6 +1928,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. |