Remove overflow: scroll handling in block flow layout methods
[WebKit.git] / Source / WebCore / rendering / RenderGrid.cpp
index b4d2a0c08b4f6072ec605da6c47242be8bdfa2e0..dcb1861a9e21565010b8089c46b69b0c1c9547b7 100644 (file)
@@ -80,13 +80,6 @@ void RenderGrid::layoutBlock(bool relayoutChildren, LayoutUnit)
 
     m_overflow.clear();
 
-    if (scrollsOverflow()) {
-        if (style()->overflowX() == OSCROLL)
-            layer()->setHasHorizontalScrollbar(true);
-        if (style()->overflowY() == OSCROLL)
-            layer()->setHasVerticalScrollbar(true);
-    }
-
     layoutGridItems();
 
     LayoutUnit oldClientAfterEdge = clientLogicalBottom();