| 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 8588a9ee471d14759253cfbc14b99f30e791445d..f6622abf4fada85ea3e6c2bc92f87c6cc97e6cd7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4851,7 +4851,7 @@ LayoutUnit LayoutBox::pageLogicalHeightForOffset(LayoutUnit offset) const
|
| LayoutView* layoutView = view();
|
| LayoutFlowThread* flowThread = flowThreadContainingBlock();
|
| if (!flowThread)
|
| - return layoutView->layoutState()->pageLogicalHeight();
|
| + return layoutView->pageLogicalHeight();
|
| return flowThread->pageLogicalHeightForOffset(offset + offsetFromLogicalTopOfFirstPage());
|
| }
|
|
|
|
|