| Index: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| index 6ec136ea70cb2bf0599489abf2e11cdc9b08e8bf..bafdeb04ba7cee30f1d2541fbe3056f14b63cb61 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| @@ -71,9 +71,8 @@ IntSize TopDocumentRootScrollerController::rootScrollerVisibleArea() const {
|
|
|
| float minimumPageScale =
|
| m_page->pageScaleConstraintsSet().finalConstraints().minimumScale;
|
| - int browserControlsAdjustment =
|
| - ceilf(m_page->frameHost().visualViewport().browserControlsAdjustment() /
|
| - minimumPageScale);
|
| + int browserControlsAdjustment = ceilf(
|
| + m_page->visualViewport().browserControlsAdjustment() / minimumPageScale);
|
|
|
| return topDocument()->view()->visibleContentSize(ExcludeScrollbars) +
|
| IntSize(0, browserControlsAdjustment);
|
|
|