style: Remove get_ prefix from get_state and get_id.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-24 21:25:16 +01:00
parent b8fb41da0c
commit 98c9292ecb
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
10 changed files with 27 additions and 25 deletions

View file

@ -700,7 +700,7 @@ impl<E: TElement> StyleSharingCache<E> {
// We do not ignore visited state here, because Gecko
// needs to store extra bits on visited style contexts,
// so these contexts cannot be shared
if target.element.get_state() != candidate.get_state() {
if target.element.state() != candidate.state() {
trace!("Miss: User and Author State");
return None;
}