| Index: third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameHost.cpp b/third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| index de575c82bd519589a1cbf1a0414ab61645ee6619..a1047400c6b6df086413bcf5c756ad0db4d29204 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| @@ -52,7 +52,6 @@ FrameHost* FrameHost::create(Page& page) {
|
| FrameHost::FrameHost(Page& page)
|
| : m_page(&page),
|
| m_browserControls(BrowserControls::create(*this)),
|
| - m_pageScaleConstraintsSet(PageScaleConstraintsSet::create()),
|
| m_visualViewport(VisualViewport::create(*this)),
|
| m_overscrollController(
|
| OverscrollController::create(*m_visualViewport,
|
| @@ -99,11 +98,11 @@ const VisualViewport& FrameHost::visualViewport() const {
|
| }
|
|
|
| PageScaleConstraintsSet& FrameHost::pageScaleConstraintsSet() {
|
| - return *m_pageScaleConstraintsSet;
|
| + return page().pageScaleConstraintsSet();
|
| }
|
|
|
| const PageScaleConstraintsSet& FrameHost::pageScaleConstraintsSet() const {
|
| - return *m_pageScaleConstraintsSet;
|
| + return page().pageScaleConstraintsSet();
|
| }
|
|
|
| EventHandlerRegistry& FrameHost::eventHandlerRegistry() {
|
|
|