Index: Source/core/rendering/LayoutState.cpp |
diff --git a/Source/core/rendering/LayoutState.cpp b/Source/core/rendering/LayoutState.cpp |
index a9c6fcf1c93a44cec4cf4b0a4a5057f9899682a4..6e90c324c18389686786bfb70cade3744840dc49 100644 |
--- a/Source/core/rendering/LayoutState.cpp |
+++ b/Source/core/rendering/LayoutState.cpp |
@@ -181,7 +181,7 @@ void LayoutState::clearPaginationInformation() |
m_columnInfo = m_next->m_columnInfo; |
} |
-LayoutUnit LayoutState::pageLogicalOffset(RenderBox* child, LayoutUnit childLogicalOffset) const |
+LayoutUnit LayoutState::pageLogicalOffset(const RenderBox* child, LayoutUnit childLogicalOffset) const |
{ |
if (child->isHorizontalWritingMode()) |
return m_layoutOffset.height() + childLogicalOffset - m_pageOffset.height(); |