Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
index 927e9aa08afcc6f7d6ea13b02746399476197f44..6a3f12869f1c02d64c4b8b1551c7327c96ecd864 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -726,6 +726,8 @@ void LayoutBlockFlow::layoutBlockChild(LayoutBox& child, BlockChildrenLayoutInfo |
// Keep track of the break-after value of the child, so that it can be joined with the |
// break-before value of the next in-flow object at the next class A break point. |
layoutInfo.setPreviousBreakAfterValue(child.breakAfter()); |
+ |
+ paginatedContentWasLaidOut(child.logicalBottom()); |
} |
if (child.isLayoutMultiColumnSpannerPlaceholder()) { |
@@ -787,8 +789,6 @@ LayoutUnit LayoutBlockFlow::adjustBlockChildForPagination(LayoutUnit logicalTop, |
} |
} |
- paginatedContentWasLaidOut(newLogicalTop + child.logicalHeight()); |
- |
// Similar to how we apply clearance. Go ahead and boost height() to be the place where we're going to position the child. |
setLogicalHeight(logicalHeight() + (newLogicalTop - logicalTop)); |