diff options
Diffstat (limited to 'WebCore/html/HTMLCollection.h')
-rw-r--r-- | WebCore/html/HTMLCollection.h | 4 |
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; |