| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index caaf1fe05d10ca5267b2d3a3c44abf3a76a5d246..7439353a56279060a8e375590fb95951490fd885 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1115,7 +1115,7 @@ IntRect Element::visibleBoundsInVisualViewport() const {
|
| return IntRect();
|
| // TODO(tkent): Can we check invisibility by scrollable non-frame elements?
|
|
|
| - IntSize viewportSize = document().page()->frameHost().visualViewport().size();
|
| + IntSize viewportSize = document().page()->visualViewport().size();
|
| IntRect rect(0, 0, viewportSize.width(), viewportSize.height());
|
| // We don't use absoluteBoundingBoxRect() because it can return an IntRect
|
| // larger the actual size by 1px. crbug.com/470503
|
|
|