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 dc1db87fd18b0ef7e3968202b6d9981dddcd5c17..ded77a4341c719cc8decf41ea333a2c80fe9c1a1 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -2698,10 +2698,10 @@ LayoutUnit LayoutBlock::pageRemainingLogicalHeightForOffset(LayoutUnit offset, P |
return flowThread->pageRemainingLogicalHeightForOffset(offset, pageBoundaryRule); |
} |
-void LayoutBlock::setPageBreak(LayoutUnit offset, LayoutUnit spaceShortage) |
+void LayoutBlock::paginatedContentWasLaidOut(LayoutUnit logicalTopOffsetAfterPagination) |
{ |
if (LayoutFlowThread* flowThread = flowThreadContainingBlock()) |
- flowThread->setPageBreak(offsetFromLogicalTopOfFirstPage() + offset, spaceShortage); |
+ flowThread->contentWasLaidOut(offsetFromLogicalTopOfFirstPage() + logicalTopOffsetAfterPagination); |
} |
void LayoutBlock::updateMinimumPageHeight(LayoutUnit offset, LayoutUnit minHeight) |