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; |