| 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 eac327c5497d6b9198d4881793a00c6cee4e4c00..d6ac5c7a279b78694e4a62c9827af337efdc22c2 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4859,7 +4859,7 @@ LayoutUnit LayoutBox::pageRemainingLogicalHeightForOffset(LayoutUnit offset, Pag
|
|
|
| LayoutFlowThread* flowThread = flowThreadContainingBlock();
|
| if (!flowThread) {
|
| - LayoutUnit pageLogicalHeight = layoutView->layoutState()->pageLogicalHeight();
|
| + LayoutUnit pageLogicalHeight = layoutView->pageLogicalHeight();
|
| LayoutUnit remainingHeight = pageLogicalHeight - intMod(offset, pageLogicalHeight);
|
| if (pageBoundaryRule == AssociateWithFormerPage) {
|
| // An offset exactly at a page boundary will act as being part of the former page in
|
|
|