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

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

Issue 141683004: Use more const references in HTMLCollection / LiveNodeList (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
Index: Source/core/html/RadioNodeList.h
diff --git a/Source/core/html/RadioNodeList.h b/Source/core/html/RadioNodeList.h
index 8a034a0df3ca3214c6ff791ce70d0b7580b2754b..d0c2c80d000322361511a0c4e68bd9dcaabb3414 100644
--- a/Source/core/html/RadioNodeList.h
+++ b/Source/core/html/RadioNodeList.h
@@ -48,9 +48,9 @@ public:
private:
RadioNodeList(Node*, const AtomicString& name, CollectionType);
- bool checkElementMatchesRadioNodeListFilter(Element*) const;
+ bool checkElementMatchesRadioNodeListFilter(const Element&) const;
- virtual bool nodeMatches(Element*) const OVERRIDE;
+ virtual bool nodeMatches(const Element&) const OVERRIDE;
AtomicString m_name;
const bool m_onlyMatchImgElements;

Powered by Google App Engine
This is Rietveld 408576698