mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Remove get_ prefix from get_state and get_id.
This commit is contained in:
parent
b8fb41da0c
commit
98c9292ecb
10 changed files with 27 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue