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

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: Null HTMLCollection handling 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 f6ba13a58e06a641b1e0767cdc39375e1bce2ceb..da418bf582f5c703eabd38cb8f568511d18c6907 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<Node>&);
- PassRefPtr<NodeList> tags(const AtomicString&);
+ PassRefPtr<HTMLCollection> tags(const AtomicString&);
private:
HTMLAllCollection(ContainerNode*, CollectionType);

Powered by Google App Engine
This is Rietveld 408576698