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

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

Issue 158563004: Make HTMLAllCollection named property getter behave more according to spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix linking error Created 6 years, 10 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 3002c9bc269690f19b80e41a5f1896f1b8a1026b..d301961350e3dcd5f21b5735a9dce4133451ceb9 100644
--- a/Source/core/html/HTMLAllCollection.h
+++ b/Source/core/html/HTMLAllCollection.h
@@ -36,10 +36,14 @@ public:
virtual ~HTMLAllCollection();
Element* namedItemWithIndex(const AtomicString& name, unsigned index) const;
- void anonymousNamedGetter(const AtomicString& name, bool&, RefPtr<NodeList>&, bool&, RefPtr<Element>&);
+ void namedGetter(const AtomicString& name, bool&, RefPtr<NodeList>&, bool&, RefPtr<Element>&);
private:
HTMLAllCollection(ContainerNode*, CollectionType);
+ virtual void supportedPropertyNames(Vector<String>& names) OVERRIDE;
+ static bool elementNameShouldBeVisible(const HTMLElement&);
+
+ friend class HTMLCollection;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698