Index: third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.cpp |
diff --git a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.cpp b/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.cpp |
index 8a41b18f1e98f0f6260cc1b1607b87c4a1d96796..c247c9985db4a237789d2a3c3af7ac0954228755 100644 |
--- a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.cpp |
+++ b/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.cpp |
@@ -36,11 +36,6 @@ ScopedPageLoadDeferrer::ScopedPageLoadDeferrer(Page* exclusion) |
if (page == exclusion || page->defersLoading()) |
continue; |
m_deferredPages.append(page); |
- |
- // Ensure that we notify the client if the initial empty document is accessed before |
- // showing anything modal, to prevent spoofs while the modal window or sheet is visible. |
- if (page->mainFrame()->isLocalFrame()) |
- page->deprecatedLocalMainFrame()->loader().notifyIfInitialDocumentAccessed(); |
} |
setDefersLoading(true); |