| Index: Source/core/rendering/RenderLayerScrollableArea.cpp
|
| diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp
|
| index 15a49175a9f9d520c35803e46e8f5d9df69db35f..2d8f8b9e9fd0b3ca54d354835b175a7f97b6ffd2 100644
|
| --- a/Source/core/rendering/RenderLayerScrollableArea.cpp
|
| +++ b/Source/core/rendering/RenderLayerScrollableArea.cpp
|
| @@ -680,6 +680,10 @@ void RenderLayerScrollableArea::updateAfterStyleChange(const RenderStyle* oldSty
|
| if (m_box->style()->appearance() == ListboxPart)
|
| return;
|
|
|
| + // RenderView shouldn't provide scrollbars on its own.
|
| + if (m_box->isRenderView())
|
| + return;
|
| +
|
| if (!m_scrollDimensionsDirty)
|
| updateScrollableAreaSet(hasScrollableHorizontalOverflow() || hasScrollableVerticalOverflow());
|
|
|
|
|