Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index 7daa88b77c873e20b2aba1437feb64eb10f7c978..47c4cf992044bd598067b58813faec92e446b9eb 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -2657,10 +2657,10 @@ LayoutUnit LayoutBlock::calculatePaginationStrutToFitContent(LayoutUnit offset, |
return strutToNextPage + flowThread->nextLogicalTopForUnbreakableContent(flowThreadOffset, contentLogicalHeight) - flowThreadOffset; |
} |
-void LayoutBlock::paginatedContentWasLaidOut(LayoutUnit logicalTopOffsetAfterPagination) |
+void LayoutBlock::paginatedContentWasLaidOut(LayoutUnit logicalBottomOffsetAfterPagination) |
{ |
if (LayoutFlowThread* flowThread = flowThreadContainingBlock()) |
- flowThread->contentWasLaidOut(offsetFromLogicalTopOfFirstPage() + logicalTopOffsetAfterPagination); |
+ flowThread->contentWasLaidOut(offsetFromLogicalTopOfFirstPage() + logicalBottomOffsetAfterPagination); |
} |
LayoutUnit LayoutBlock::collapsedMarginBeforeForChild(const LayoutBox& child) const |