Index: Source/core/rendering/RenderLayerScrollableArea.cpp |
diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp |
index ec64730d6dcc59174e89a37116f63c6143d1631d..3bcaa2c265520fb6eb220fb582d86234d2b8582a 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()); |