Index: Source/core/rendering/RenderView.cpp |
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp |
index c82cf815ecbc50da547efb23f03345d21e34e0d4..31389603fdf6b6d056d9ec727d7e49406b9e319f 100644 |
--- a/Source/core/rendering/RenderView.cpp |
+++ b/Source/core/rendering/RenderView.cpp |
@@ -384,14 +384,6 @@ void RenderView::computeSelfHitTestRects(Vector<LayoutRect>& rects, const Layout |
rects.append(LayoutRect(LayoutPoint::zero(), frameView()->contentsSize())); |
} |
-bool RenderView::requiresColumns(int desiredColumnCount) const |
-{ |
- if (m_frameView) |
- return m_frameView->pagination().mode != Pagination::Unpaginated; |
- |
- return RenderBlock::requiresColumns(desiredColumnCount); |
-} |
- |
void RenderView::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
{ |
// If we ever require layout but receive a paint anyway, something has gone horribly wrong. |
@@ -402,7 +394,7 @@ void RenderView::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); |
// This avoids painting garbage between columns if there is a column gap. |
- if (m_frameView && m_frameView->pagination().mode != Pagination::Unpaginated) |
+ if (m_frameView && style()->isOverflowPaged()) |
paintInfo.context->fillRect(paintInfo.rect, m_frameView->baseBackgroundColor()); |
paintObject(paintInfo, paintOffset); |