summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/ChildNodeList.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/dom/ChildNodeList.h
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/dom/ChildNodeList.h')
-rw-r--r--WebCore/dom/ChildNodeList.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/WebCore/dom/ChildNodeList.h b/WebCore/dom/ChildNodeList.h
index efdc606..f38106d 100644
--- a/WebCore/dom/ChildNodeList.h
+++ b/WebCore/dom/ChildNodeList.h
@@ -25,20 +25,24 @@
#define ChildNodeList_h
#include "DynamicNodeList.h"
+#include <wtf/PassRefPtr.h>
namespace WebCore {
class ChildNodeList : public DynamicNodeList {
public:
- ChildNodeList(PassRefPtr<Node> rootNode, DynamicNodeList::Caches*);
+ static PassRefPtr<ChildNodeList> create(PassRefPtr<Node> rootNode, Caches* caches)
+ {
+ return adoptRef(new ChildNodeList(rootNode, caches));
+ }
virtual unsigned length() const;
virtual Node* item(unsigned index) const;
- virtual void rootNodeChildrenChanged();
-
protected:
- virtual bool nodeMatches(Node*) const;
+ ChildNodeList(PassRefPtr<Node> rootNode, Caches*);
+
+ virtual bool nodeMatches(Element*) const;
};
} // namespace WebCore