Index: Source/core/layout/LayoutBlock.cpp |
diff --git a/Source/core/layout/LayoutBlock.cpp b/Source/core/layout/LayoutBlock.cpp |
index d1a61fd3345cb31e0d994a61f1afe1da5ef30bfa..1a01cfed898ceb3101a53824f54799ae8acc9d00 100644 |
--- a/Source/core/layout/LayoutBlock.cpp |
+++ b/Source/core/layout/LayoutBlock.cpp |
@@ -3642,19 +3642,6 @@ void LayoutBlock::updateMinimumPageHeight(LayoutUnit offset, LayoutUnit minHeigh |
colInfo->updateMinimumColumnHeight(minHeight); |
} |
-LayoutUnit LayoutBlock::offsetFromLogicalTopOfFirstPage() const |
-{ |
- LayoutState* layoutState = view()->layoutState(); |
- RELEASE_ASSERT(layoutState); |
- if (!layoutState->isPaginated()) |
- return LayoutUnit(); |
- // It would be possible to remove the requirement that this block be the one currently being |
- // laid out, but nobody needs that at the moment. |
- ASSERT(layoutState->layoutObject() == this); |
- LayoutSize offsetDelta = layoutState->layoutOffset() - layoutState->pageOffset(); |
- return isHorizontalWritingMode() ? offsetDelta.height() : offsetDelta.width(); |
-} |
- |
LayoutUnit LayoutBlock::collapsedMarginBeforeForChild(const LayoutBox& child) const |
{ |
// If the child has the same directionality as we do, then we can just return its |