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

@ -676,12 +676,12 @@ impl<E: TElement> StyleSharingCache<E> {
return None;
}
if *target.get_local_name() != *candidate.element.get_local_name() {
if *target.local_name() != *candidate.element.local_name() {
trace!("Miss: Local Name");
return None;
}
if *target.get_namespace() != *candidate.element.get_namespace() {
if *target.namespace() != *candidate.element.namespace() {
trace!("Miss: Namespace");
return None;
}