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 dc0eb16feb28cd9d168cd7b600fc6ff9aa9c4a82..89b23b078658cced2b4731d5f485539a9a6f9bb3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -4890,7 +4890,7 @@ LayoutUnit LayoutBox::pageRemainingLogicalHeightForOffset(LayoutUnit offset, Pag |
LayoutFlowThread* flowThread = flowThreadContainingBlock(); |
if (!flowThread) { |
- LayoutUnit pageLogicalHeight = layoutView->layoutState()->pageLogicalHeight(); |
rhogan
2016/08/02 17:59:02
Per https://chromium.googlesource.com/chromium/src
|
+ 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 |