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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 2736753003: Make EventHandlerRegistry store Page instead of FrameHost (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/EventHandlerRegistry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index 94a3878d0e85e4865273bde966557d3f06412b1c..b8c3eb497fd360ab5fcc1e67c7bb0509642f0390 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -1832,7 +1832,7 @@ void Node::willMoveToNewDocument(Document& oldDocument, Document& newDocument) {
oldDocument.frameHost() == newDocument.frameHost())
return;
- oldDocument.frameHost()->eventHandlerRegistry().didMoveOutOfFrameHost(*this);
+ oldDocument.frameHost()->eventHandlerRegistry().didMoveOutOfPage(*this);
}
void Node::didMoveToNewDocument(Document& oldDocument) {
@@ -1849,7 +1849,7 @@ void Node::didMoveToNewDocument(Document& oldDocument) {
oldDocument.markers().removeMarkers(this);
if (document().frameHost() &&
document().frameHost() != oldDocument.frameHost()) {
- document().frameHost()->eventHandlerRegistry().didMoveIntoFrameHost(*this);
+ document().frameHost()->eventHandlerRegistry().didMoveIntoPage(*this);
}
if (const HeapVector<TraceWrapperMember<MutationObserverRegistration>>*
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/EventHandlerRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698