Index: Source/core/dom/NameNodeList.cpp |
diff --git a/Source/core/dom/NameNodeList.cpp b/Source/core/dom/NameNodeList.cpp |
index 490733f84077e07961f1b8e48843235f08a31e72..b0b12f5f2c4fce3ae62c5f49d1d74eb514c06e65 100644 |
--- a/Source/core/dom/NameNodeList.cpp |
+++ b/Source/core/dom/NameNodeList.cpp |
@@ -31,7 +31,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-NameNodeList::NameNodeList(PassRefPtr<Node> rootNode, const AtomicString& name) |
+NameNodeList::NameNodeList(PassRefPtr<ContainerNode> rootNode, const AtomicString& name) |
: LiveNodeList(rootNode, NameNodeListType, InvalidateOnNameAttrChange) |
, m_name(name) |
{ |