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 07a591cdca11b0de82575dd06f9ac53b4c981985..b0211c1f652e6ea9cd0a46dfd6640586f60f864d 100644 |
--- a/third_party/WebKit/Source/core/page/Page.cpp |
+++ b/third_party/WebKit/Source/core/page/Page.cpp |
@@ -326,8 +326,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. |