| Index: third_party/WebKit/Source/core/page/Page.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
|
| index a0c8168cb978c948b7e3747793327ec690732052..936be2305920ffec30703186bea1d929a6b39f55 100644
|
| --- a/third_party/WebKit/Source/core/page/Page.cpp
|
| +++ b/third_party/WebKit/Source/core/page/Page.cpp
|
| @@ -342,8 +342,8 @@ void Page::setVisibilityState(PageVisibilityState visibilityState, bool isInitia
|
| if (!isInitialState)
|
| notifyPageVisibilityChanged();
|
|
|
| - if (!isInitialState && m_mainFrame && m_mainFrame->isLocalFrame())
|
| - deprecatedLocalMainFrame()->didChangeVisibilityState();
|
| + if (!isInitialState && m_mainFrame)
|
| + m_mainFrame->didChangeVisibilityState();
|
|
|
| // Compress CompressibleStrings when 10 seconds have passed since the page
|
| // went to background.
|
|
|