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

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

Issue 143453010: Have getElementsByClassName() / getElementsByTagName*() return an HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Keep HTMLCollection.length change out of this CL Created 6 years, 11 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/HTMLAllCollection.h
diff --git a/Source/core/html/HTMLAllCollection.h b/Source/core/html/HTMLAllCollection.h
index f5f69cac17bb61a35e4d5dd3582258eb12295c02..323773aa6b74c33eeb6ffa88b4f531459136fdb1 100644
--- a/Source/core/html/HTMLAllCollection.h
+++ b/Source/core/html/HTMLAllCollection.h
@@ -37,7 +37,7 @@ public:
Node* namedItemWithIndex(const AtomicString& name, unsigned index) const;
void anonymousNamedGetter(const AtomicString& name, bool&, RefPtr<NodeList>&, bool&, RefPtr<Element>&);
- PassRefPtr<NodeList> tags(const AtomicString&);
+ PassRefPtr<HTMLCollection> tags(const AtomicString&);
private:
HTMLAllCollection(ContainerNode*, CollectionType);

Powered by Google App Engine
This is Rietveld 408576698