summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLCollection.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/html/HTMLCollection.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/html/HTMLCollection.h')
-rw-r--r--WebCore/html/HTMLCollection.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/html/HTMLCollection.h b/WebCore/html/HTMLCollection.h
index d992c81..3d75108 100644
--- a/WebCore/html/HTMLCollection.h
+++ b/WebCore/html/HTMLCollection.h
@@ -76,7 +76,7 @@ public:
static const Type FirstNamedDocumentCachedType = WindowNamedItems;
static const unsigned NumNamedDocumentCachedTypes = DocumentNamedItems - WindowNamedItems + 1;
- HTMLCollection(PassRefPtr<Node> base, Type);
+ static PassRefPtr<HTMLCollection> create(PassRefPtr<Node> base, Type);
virtual ~HTMLCollection();
unsigned length() const;
@@ -139,6 +139,8 @@ protected:
mutable bool m_idsDone; // for nextNamedItem()
private:
+ HTMLCollection(PassRefPtr<Node> base, Type);
+
virtual Element* itemAfter(Element*) const;
virtual unsigned calcLength() const;
virtual void updateNameCache() const;