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

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

Issue 148013008: Use stricter typing for HTMLCollection named getter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/html/HTMLAllCollection.idl ('k') | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCollection.h
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h
index 077bf2acb0ac13b360e72a4d8ebcee61939c86b7..6cf8122752a482d7174e32e10907c49dffb56064 100644
--- a/Source/core/html/HTMLCollection.h
+++ b/Source/core/html/HTMLCollection.h
@@ -38,10 +38,10 @@ public:
virtual void invalidateCache() const OVERRIDE;
// DOM API
- virtual Node* namedItem(const AtomicString& name) const;
+ virtual Element* namedItem(const AtomicString& name) const;
// Non-DOM API
- void namedItems(const AtomicString& name, Vector<RefPtr<Node> >&) const;
+ void namedItems(const AtomicString& name, Vector<RefPtr<Element> >&) const;
bool isEmpty() const
{
if (isLengthCacheValid())
« no previous file with comments | « Source/core/html/HTMLAllCollection.idl ('k') | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698