Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Unified Diff: Source/core/html/HTMLNameCollection.h

Issue 315473002: Stop having HTMLNameCollection override HTMLCollection::virtualItemAfter() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLNameCollection.h
diff --git a/Source/core/html/HTMLNameCollection.h b/Source/core/html/HTMLNameCollection.h
index 824f505508a0d93cba5fafa536373b6a51c451bf..b7ce7d4317d0c58d988af7b16f2fff5dc61ff9a2 100644
--- a/Source/core/html/HTMLNameCollection.h
+++ b/Source/core/html/HTMLNameCollection.h
@@ -24,27 +24,17 @@
#define HTMLNameCollection_h
#include "core/html/HTMLCollection.h"
-
#include "wtf/text/AtomicString.h"
namespace WebCore {
-class Document;
-
-class HTMLNameCollection FINAL : public HTMLCollection {
+class HTMLNameCollection : public HTMLCollection {
public:
- static PassRefPtrWillBeRawPtr<HTMLNameCollection> create(ContainerNode& document, CollectionType type, const AtomicString& name)
- {
- return adoptRefWillBeNoop(new HTMLNameCollection(document, type, name));
- }
+ virtual ~HTMLNameCollection();
- ~HTMLNameCollection();
-
-private:
+protected:
HTMLNameCollection(ContainerNode&, CollectionType, const AtomicString& name);
- virtual Element* virtualItemAfter(Element*) const OVERRIDE;
-
AtomicString m_name;
};

Powered by Google App Engine
This is Rietveld 408576698