Index: third_party/WebKit/Source/core/layout/LayoutBlock.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
index 258716b91bb44c5c61544797cc0fb4fd125c863d..6e941b0e0f234c8f60d00fe173f605fd5c83b7bb 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
@@ -446,8 +446,10 @@ protected: |
bool createsNewFormattingContext() const; |
- // A page break is required at some offset due to space shortage in the current fragmentainer. |
- void setPageBreak(LayoutUnit offset, LayoutUnit spaceShortage); |
+ // Paginated content inside this block was laid out. |
+ // |logicalTopOffsetAfterPagination| is the logical top offset of the child content after |
+ // applying any forced or unforced break, if needed. |
+ void paginatedContentWasLaidOut(LayoutUnit logicalTopOffsetAfterPagination); |
// Update minimum page height required to avoid fragmentation where it shouldn't occur (inside |
// unbreakable content, between orphans and widows, etc.). This will be used as a hint to the |