| 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 3cf425f126191cd6c4c21b2848bddaa2a7e1bf9d..1cbedcad8db3996a92f175d35cad6c5aeda90a76 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4835,7 +4835,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());
|
| }
|
|
|
|
|