| 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 3843492539b1378ebf683c944c6f3fa734218c25..bcfc1de53cf253ef6f7f216486c091a008f6a6c9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -838,11 +838,7 @@ void LayoutBlockFlow::adjustLinePositionForPagination(RootInlineBox& lineBox, La
|
|
|
| LayoutUnit LayoutBlockFlow::adjustForUnsplittableChild(LayoutBox& child, LayoutUnit logicalOffset)
|
| {
|
| - bool checkColumnBreaks = flowThreadContainingBlock();
|
| - bool checkPageBreaks = !checkColumnBreaks && view()->layoutState()->pageLogicalHeight();
|
| - bool isUnsplittable = child.isUnsplittableForPagination() || (checkColumnBreaks && child.style()->columnBreakInside() == PBAVOID)
|
| - || (checkPageBreaks && child.style()->pageBreakInside() == PBAVOID);
|
| - if (!isUnsplittable)
|
| + if (child.paginationBreakability() == AllowAnyBreaks)
|
| return logicalOffset;
|
| LayoutUnit childLogicalHeight = logicalHeightForChild(child);
|
| // Floats' margins do not collapse with page or column boundaries.
|
|
|