| Index: Source/core/html/HTMLCollection.h
|
| diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h
|
| index 967b247db4d0fd2c0aad17b994c25ded844f06d7..091201667a2175fb55abd206b3095f9c80c8071f 100644
|
| --- a/Source/core/html/HTMLCollection.h
|
| +++ b/Source/core/html/HTMLCollection.h
|
| @@ -31,7 +31,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -class HTMLCollection : public LiveNodeListBase {
|
| +class HTMLCollection : public ScriptWrappable, public RefCounted<HTMLCollection>, public LiveNodeListBase {
|
| public:
|
| static PassRefPtr<HTMLCollection> create(Node* base, CollectionType);
|
| virtual ~HTMLCollection();
|
| @@ -40,7 +40,6 @@ public:
|
| virtual Node* namedItem(const AtomicString& name) const;
|
|
|
| // Non-DOM API
|
| - virtual bool hasNamedItem(const AtomicString& name) const;
|
| void namedItems(const AtomicString& name, Vector<RefPtr<Node> >&) const;
|
| bool isEmpty() const
|
| {
|
| @@ -79,8 +78,6 @@ private:
|
| bool checkForNameMatch(Element*, bool checkName, const AtomicString& name) const;
|
| Element* traverseNextElement(unsigned& offsetInArray, Element& previous, ContainerNode* root) const;
|
|
|
| - virtual bool isLiveNodeList() const OVERRIDE { ASSERT_NOT_REACHED(); return true; }
|
| -
|
| static void append(NodeCacheMap&, const AtomicString&, Element*);
|
|
|
| mutable NodeCacheMap m_idCache;
|
|
|