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

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

Issue 161083002: Make NodeList::ownerNode() virtual and rename to virtualOwnerNode() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reupload Created 6 years, 10 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: Source/core/dom/ChildNodeList.cpp
diff --git a/Source/core/dom/ChildNodeList.cpp b/Source/core/dom/ChildNodeList.cpp
index 9576cc57f236b8409860d9274013bafc264c5d54..ee585c430ce3934994fbf70a4f8b79c545150eca 100644
--- a/Source/core/dom/ChildNodeList.cpp
+++ b/Source/core/dom/ChildNodeList.cpp
@@ -35,6 +35,11 @@ ChildNodeList::ChildNodeList(PassRefPtr<ContainerNode> parent)
ASSERT(m_parent);
}
+Node* ChildNodeList::virtualOwnerNode() const
+{
+ return ownerNode();
+}
+
ChildNodeList::~ChildNodeList()
{
m_parent->nodeLists()->removeChildNodeList(this);

Powered by Google App Engine
This is Rietveld 408576698