| Index: third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp
|
| index c9b130f0f693be16ea6febeafca9c4c93f338a9c..fce8208bd2576b646756614e7f21a0ec7c0a354a 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp
|
| @@ -11,7 +11,7 @@
|
| #include "core/frame/TopControls.h"
|
| #include "core/frame/VisualViewport.h"
|
| #include "core/input/EventHandler.h"
|
| -#include "core/layout/LayoutView.h"
|
| +#include "core/layout/api/LayoutViewItem.h"
|
| #include "core/page/scrolling/ScrollState.h"
|
| #include "platform/geometry/FloatSize.h"
|
| #include "platform/scroll/ScrollableArea.h"
|
| @@ -102,10 +102,10 @@ void ViewportScrollCallback::handleEvent(ScrollState* state)
|
|
|
| ScrollableArea* ViewportScrollCallback::getRootFrameViewport() const
|
| {
|
| - if (!m_document->layoutView())
|
| + if (m_document->layoutViewItem().isNull())
|
| return nullptr;
|
|
|
| - FrameView* frameView = m_document->layoutView()->frameView();
|
| + FrameView* frameView = m_document->layoutViewItem().frameView();
|
| if (!frameView)
|
| return nullptr;
|
|
|
|
|