| Index: third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp b/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
|
| index 8b2e6c2ab3ffdcd65490bc25090a969c56a69c9b..2eed1f5ab8236f91d790f10d6246ae3cf7024062 100644
|
| --- a/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
|
| @@ -18,6 +18,11 @@ RootFrameViewport::RootFrameViewport(ScrollableArea& visualViewport, ScrollableA
|
| {
|
| }
|
|
|
| +void RootFrameViewport::setLayoutViewport(ScrollableArea& newLayoutViewport)
|
| +{
|
| + m_layoutViewport = &newLayoutViewport;
|
| +}
|
| +
|
| void RootFrameViewport::updateScrollAnimator()
|
| {
|
| scrollAnimator().setCurrentPosition(toFloatPoint(scrollOffsetFromScrollAnimators()));
|
|
|