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

Unified Diff: Source/core/dom/Element.cpp

Issue 507693003: Rename didEnterDocument and didLeaveDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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 | Source/core/dom/custom/CustomElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 1563af9a1beae961f203e482c01b42a5d6d5cbf7..c34c98fffc39f75b6dbadaa70106cff38dfb10c1 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -1250,7 +1250,7 @@ Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio
elementRareData()->clearClassListValueForQuirksMode();
if (isUpgradedCustomElement() && inDocument())
- CustomElement::didEnterDocument(this, document());
+ CustomElement::didAttach(this, document());
TreeScope& scope = insertionPoint->treeScope();
if (scope != treeScope())
@@ -1303,7 +1303,7 @@ void Element::removedFrom(ContainerNode* insertionPoint)
document().accessSVGExtensions().removeElementFromPendingResources(this);
if (isUpgradedCustomElement())
- CustomElement::didLeaveDocument(this, insertionPoint->document());
+ CustomElement::didDetach(this, insertionPoint->document());
}
document().removeFromTopLayer(this);
« no previous file with comments | « no previous file | Source/core/dom/custom/CustomElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698