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

Unified Diff: Source/core/dom/EmptyNodeList.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/EmptyNodeList.cpp
diff --git a/Source/core/dom/EmptyNodeList.cpp b/Source/core/dom/EmptyNodeList.cpp
index 5f731886dccce6b77d27d759b90fe2f74d69bfbd..8705936f54d568d81a721fe9c456bdf9ea15e0e7 100644
--- a/Source/core/dom/EmptyNodeList.cpp
+++ b/Source/core/dom/EmptyNodeList.cpp
@@ -42,4 +42,9 @@ EmptyNodeList::~EmptyNodeList()
m_owner->nodeLists()->removeEmptyChildNodeList(this);
}
+Node* EmptyNodeList::virtualOwnerNode() const
+{
+ return ownerNode();
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698