Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index 200a70db92e2dfaef148a60e915ee705a07d09e9..6c1487c842cfa43caf534c566ef36f727a5b1780 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -39,7 +39,6 @@ |
#include "core/html/HTMLTextAreaElement.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/Settings.h" |
-#include "core/rendering/Pagination.h" |
#include "core/rendering/RenderTheme.h" |
#include "core/rendering/style/GridPosition.h" |
#include "core/rendering/style/RenderStyle.h" |
@@ -307,12 +306,6 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty |
style->setOverflowY(OAUTO); |
} |
- // Call setStylesForPaginationMode() if a pagination mode is set for any non-root elements. If these |
- // styles are specified on a root element, then they will be incorporated in |
- // StyleAdjuster::styleForDocument(). |
- if ((style->overflowY() == OPAGEDX || style->overflowY() == OPAGEDY) && !(e && (e->hasTagName(htmlTag) || e->hasTagName(bodyTag)))) |
- Pagination::setStylesForPaginationMode(WebCore::paginationModeForRenderStyle(style), style); |
- |
// Table rows, sections and the table itself will support overflow:hidden and will ignore scroll/auto. |
// FIXME: Eventually table sections will support auto and scroll. |
if (style->display() == TABLE || style->display() == INLINE_TABLE |