Index: Source/core/rendering/RenderScrollbar.cpp |
diff --git a/Source/core/rendering/RenderScrollbar.cpp b/Source/core/rendering/RenderScrollbar.cpp |
index 66577733291e0d8a4059c89c22b96a6c6da36f7e..2ffc49314689c0d526d1e1c0a9681e8743160612 100644 |
--- a/Source/core/rendering/RenderScrollbar.cpp |
+++ b/Source/core/rendering/RenderScrollbar.cpp |
@@ -204,8 +204,11 @@ void RenderScrollbar::updateScrollbarParts(bool destroy) |
if (newThickness != oldThickness) { |
setFrameRect(IntRect(location(), IntSize(isHorizontal ? width() : newThickness, isHorizontal ? newThickness : height()))); |
- if (RenderBox* box = owningRenderer()) |
+ if (RenderBox* box = owningRenderer()) { |
+ if (box->isRenderBlock()) |
+ toRenderBlock(box)->notifyScrollbarThicknessChanged(); |
box->setChildNeedsLayout(); |
+ } |
} |
} |