| 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 2caf3a1a830be8de525afe158412b7c7f70151ba..48c972d368a62eb7c7d88bebf6e97382b606fdf2 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -1123,6 +1123,8 @@ void LayoutBlockFlow::adjustLinePositionForPagination(RootInlineBox& lineBox,
|
| logicalOffset += delta;
|
| lineBox.setPaginationStrut(LayoutUnit());
|
| lineBox.setIsFirstAfterPageBreak(false);
|
| + if (!view()->layoutState()->isPaginated())
|
| + return;
|
| LayoutUnit pageLogicalHeight = pageLogicalHeightForOffset(logicalOffset);
|
| if (!pageLogicalHeight)
|
| return;
|
|
|