summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/ChildNodeList.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/ChildNodeList.h')
-rw-r--r--Source/WebCore/dom/ChildNodeList.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/WebCore/dom/ChildNodeList.h b/Source/WebCore/dom/ChildNodeList.h
index df3d67b..f38106d 100644
--- a/Source/WebCore/dom/ChildNodeList.h
+++ b/Source/WebCore/dom/ChildNodeList.h
@@ -31,18 +31,16 @@ namespace WebCore {
class ChildNodeList : public DynamicNodeList {
public:
- static PassRefPtr<ChildNodeList> create(PassRefPtr<Node> rootNode)
+ static PassRefPtr<ChildNodeList> create(PassRefPtr<Node> rootNode, Caches* caches)
{
- return adoptRef(new ChildNodeList(rootNode));
+ return adoptRef(new ChildNodeList(rootNode, caches));
}
- virtual ~ChildNodeList();
-
virtual unsigned length() const;
virtual Node* item(unsigned index) const;
protected:
- ChildNodeList(PassRefPtr<Node> rootNode);
+ ChildNodeList(PassRefPtr<Node> rootNode, Caches*);
virtual bool nodeMatches(Element*) const;
};