| Index: Source/core/dom/NameNodeList.h
|
| diff --git a/Source/core/dom/NameNodeList.h b/Source/core/dom/NameNodeList.h
|
| index 5a595d8d9a369fe180fe1103f08c11555d40a3f4..320bc4c7aa02d56d1e1f0d99f8bcf79a1cb8590d 100644
|
| --- a/Source/core/dom/NameNodeList.h
|
| +++ b/Source/core/dom/NameNodeList.h
|
| @@ -33,7 +33,7 @@ namespace WebCore {
|
| // NodeList which lists all Nodes in a Element with a given "name" attribute
|
| class NameNodeList FINAL : public LiveNodeList {
|
| public:
|
| - static PassRefPtr<NameNodeList> create(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& name)
|
| + static PassRefPtr<NameNodeList> create(PassRefPtr<ContainerNode> rootNode, CollectionType type, const AtomicString& name)
|
| {
|
| ASSERT_UNUSED(type, type == NameNodeListType);
|
| return adoptRef(new NameNodeList(rootNode, name));
|
| @@ -42,7 +42,7 @@ public:
|
| virtual ~NameNodeList();
|
|
|
| private:
|
| - NameNodeList(PassRefPtr<Node> rootNode, const AtomicString& name);
|
| + NameNodeList(PassRefPtr<ContainerNode> rootNode, const AtomicString& name);
|
|
|
| virtual bool nodeMatches(Element*) const OVERRIDE;
|
|
|
|
|