| Index: Source/WebCore/dom/TagNodeList.h
|
| ===================================================================
|
| --- Source/WebCore/dom/TagNodeList.h (revision 122245)
|
| +++ Source/WebCore/dom/TagNodeList.h (working copy)
|
| @@ -34,9 +34,15 @@
|
| public:
|
| static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI, const AtomicString& localName)
|
| {
|
| + ASSERT(namespaceURI != starAtom);
|
| return adoptRef(new TagNodeList(rootNode, namespaceURI, localName));
|
| }
|
|
|
| + static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& localName)
|
| + {
|
| + return adoptRef(new TagNodeList(rootNode, starAtom, localName));
|
| + }
|
| +
|
| virtual ~TagNodeList();
|
|
|
| protected:
|
| @@ -50,13 +56,13 @@
|
|
|
| class HTMLTagNodeList : public TagNodeList {
|
| public:
|
| - static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI, const AtomicString& localName)
|
| + static PassRefPtr<HTMLTagNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& localName)
|
| {
|
| - return adoptRef(new HTMLTagNodeList(rootNode, namespaceURI, localName));
|
| + return adoptRef(new HTMLTagNodeList(rootNode, localName));
|
| }
|
|
|
| private:
|
| - HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI, const AtomicString& localName);
|
| + HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& localName);
|
|
|
| virtual bool nodeMatches(Element*) const;
|
|
|
|
|