selectors: Remove the get_ prefix from get_local_name and get_namespace.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-24 20:40:04 +01:00
parent da99f159f4
commit 7ab4b21bc3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
12 changed files with 60 additions and 55 deletions

View file

@ -201,7 +201,7 @@ impl SelectorMap<Rule> {
}
});
if let Some(rules) = self.local_name_hash.get(rule_hash_target.get_local_name()) {
if let Some(rules) = self.local_name_hash.get(rule_hash_target.local_name()) {
SelectorMap::get_matching_rules(
element,
rules,
@ -344,7 +344,7 @@ impl<T: SelectorMapEntry> SelectorMap<T> {
}
// Local name.
if let Some(v) = self.local_name_hash.get(element.get_local_name()) {
if let Some(v) = self.local_name_hash.get(element.local_name()) {
for entry in v.iter() {
if !f(&entry) {
return false;