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

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

Issue 480473002: Drop unnecessary RadioNodeList::m_onlyMatchImgElements member (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « no previous file | Source/core/html/RadioNodeList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/RadioNodeList.h
diff --git a/Source/core/html/RadioNodeList.h b/Source/core/html/RadioNodeList.h
index fca044d5195ffae77b4274eb0ba4e5f23f4f0e00..0fb489dd2cccdf80148c4cfbb3a2e427c3897460 100644
--- a/Source/core/html/RadioNodeList.h
+++ b/Source/core/html/RadioNodeList.h
@@ -51,11 +51,11 @@ private:
bool checkElementMatchesRadioNodeListFilter(const Element&) const;
bool matchesByIdOrName(const Element&) const;
+ bool shouldOnlyMatchImgElements() const { return type() == RadioImgNodeListType; }
virtual bool elementMatches(const Element&) const OVERRIDE;
AtomicString m_name;
- const bool m_onlyMatchImgElements;
};
} // namespace
« no previous file with comments | « no previous file | Source/core/html/RadioNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698