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

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

Issue 2741633002: Remove FrameHost::eventHandlerRegistry() (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 6fa75cf9bc647ce1230b616b021a0adf8eee7440..ea500351c93840cb478c90f722df19cb75b65cdc 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -440,7 +440,7 @@ void LocalFrame::detach(FrameDetachType type) {
script().clearForClose();
setView(nullptr);
- m_host->eventHandlerRegistry().didRemoveAllEventHandlers(*domWindow());
+ m_host->page().eventHandlerRegistry().didRemoveAllEventHandlers(*domWindow());
domWindow()->frameDestroyed();

Powered by Google App Engine
This is Rietveld 408576698