| Index: sky/engine/core/frame/LocalFrame.cpp
|
| diff --git a/sky/engine/core/frame/LocalFrame.cpp b/sky/engine/core/frame/LocalFrame.cpp
|
| index cec1644f4a34121344362ff77001ef17d55bd1fb..c1eb350f9ce527abf3a45a3dd7eca2e37582d45f 100644
|
| --- a/sky/engine/core/frame/LocalFrame.cpp
|
| +++ b/sky/engine/core/frame/LocalFrame.cpp
|
| @@ -219,9 +219,6 @@ void LocalFrame::willDetachFrameHost()
|
| // so page() could be null.
|
| if (page() && page()->focusController().focusedFrame() == this)
|
| page()->focusController().setFocusedFrame(nullptr);
|
| -
|
| - if (page() && page()->scrollingCoordinator() && m_view)
|
| - page()->scrollingCoordinator()->willDestroyScrollableArea(m_view.get());
|
| }
|
|
|
| void LocalFrame::detachFromFrameHost()
|
| @@ -321,8 +318,6 @@ void LocalFrame::createView(const IntSize& viewportSize, const Color& background
|
| // The layout size is set by WebViewImpl to support @viewport
|
| frameView->setLayoutSizeFixedToFrameSize(false);
|
|
|
| - frameView->setScrollbarModes(horizontalScrollbarMode, verticalScrollbarMode, horizontalLock, verticalLock);
|
| -
|
| setView(frameView);
|
|
|
| frameView->updateBackgroundRecursively(backgroundColor, transparent);
|
|
|