| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 4efa03050f40a98c87c8f2eb2a29de05de72c16d..eb291d4596f8b4c335f77502abe67e4f1bfbd140 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -5504,7 +5504,7 @@ LayoutUnit LayoutBox::pageRemainingLogicalHeightForOffset(
|
|
|
| bool LayoutBox::crossesPageBoundary(LayoutUnit offset,
|
| LayoutUnit logicalHeight) const {
|
| - if (!view()->layoutState()->pageLogicalHeight())
|
| + if (!pageLogicalHeightForOffset(offset))
|
| return false;
|
| return pageRemainingLogicalHeightForOffset(offset, AssociateWithLatterPage) <
|
| logicalHeight;
|
|
|