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

Unified Diff: Source/core/dom/LiveNodeList.h

Issue 137713002: Get rid of custom bindings for V8NodeList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment Created 6 years, 11 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 | « Source/bindings/v8/custom/V8NodeListCustom.cpp ('k') | Source/core/dom/NodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LiveNodeList.h
diff --git a/Source/core/dom/LiveNodeList.h b/Source/core/dom/LiveNodeList.h
index 9f7bfb95584b5473186bd0a8351fbfc1b13f0ddd..cc335226a6d22be3b9316abfd07031fa516b899f 100644
--- a/Source/core/dom/LiveNodeList.h
+++ b/Source/core/dom/LiveNodeList.h
@@ -187,6 +187,8 @@ public:
virtual Node* item(unsigned offset) const OVERRIDE FINAL { return LiveNodeListBase::item(offset); }
virtual Node* namedItem(const AtomicString&) const OVERRIDE FINAL;
virtual bool nodeMatches(Element*) const = 0;
+ // Avoid ambiguity since both NodeList and LiveNodeListBase have an ownerNode() method.
+ using LiveNodeListBase::ownerNode;
Node* traverseToFirstElement(ContainerNode& root) const;
Node* traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset, ContainerNode* root) const;
« no previous file with comments | « Source/bindings/v8/custom/V8NodeListCustom.cpp ('k') | Source/core/dom/NodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698