Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 2142753002: Remove LocalFrameLifecycleObserver::willDetachFrameHost() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index a0980bf95495e200242827965456f8678fe99b32..02125f96ef65e68d08df6dc53fd4e37b622a99e0 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -104,11 +104,6 @@ public:
}
// LocalFrameLifecycleObserver overrides:
- void willDetachFrameHost() override
- {
- m_window->willDetachFrameHost();
- }
-
void contextDestroyed() override
{
m_window->frameDestroyed();
@@ -495,11 +490,6 @@ MediaQueryList* LocalDOMWindow::matchMedia(const String& media)
return document() ? document()->mediaQueryMatcher().matchMedia(media) : nullptr;
}
-void LocalDOMWindow::willDetachFrameHost()
-{
- frame()->host()->eventHandlerRegistry().didRemoveAllEventHandlers(*this);
-}
-
void LocalDOMWindow::frameDestroyed()
{
willDestroyDocumentInFrame();
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698