Index: Source/core/dom/LiveNodeList.cpp |
diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeList.cpp |
index d43ce2f541815711ce5d4b231688acc7fa8415be..f4fb26b51809fdc422a1b017a026ee88e0543741 100644 |
--- a/Source/core/dom/LiveNodeList.cpp |
+++ b/Source/core/dom/LiveNodeList.cpp |
@@ -23,31 +23,8 @@ |
#include "config.h" |
#include "core/dom/LiveNodeList.h" |
-#include "core/dom/Element.h" |
-#include "core/html/HTMLCollection.h" |
- |
namespace WebCore { |
-ContainerNode& LiveNodeListBase::rootNode() const |
-{ |
- if (isRootedAtDocument() && m_ownerNode->inDocument()) |
- return m_ownerNode->document(); |
- return *m_ownerNode; |
-} |
- |
-void LiveNodeListBase::didMoveToDocument(Document& oldDocument, Document& newDocument) |
-{ |
- invalidateCache(&oldDocument); |
- oldDocument.unregisterNodeList(this); |
- newDocument.registerNodeList(this); |
-} |
- |
-void LiveNodeListBase::invalidateIdNameCacheMaps() const |
-{ |
- ASSERT(hasIdNameCache()); |
- static_cast<const HTMLCollection*>(this)->invalidateIdNameCacheMaps(); |
-} |
- |
Node* LiveNodeList::virtualOwnerNode() const |
{ |
return ownerNode(); |