diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-02-24 21:25:16 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-02-24 22:45:42 +0100 |
commit | 98c9292ecb8912e51566279e07c0453ace80454b (patch) | |
tree | 84fa3fc8b16d0d710b6c3947080eb15afb58fc8c /components/style/sharing/mod.rs | |
parent | b8fb41da0c7d43ba602a11989334163df307ebd4 (diff) | |
download | servo-98c9292ecb8912e51566279e07c0453ace80454b.tar.gz servo-98c9292ecb8912e51566279e07c0453ace80454b.zip |
style: Remove get_ prefix from get_state and get_id.
Diffstat (limited to 'components/style/sharing/mod.rs')
-rw-r--r-- | components/style/sharing/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/sharing/mod.rs b/components/style/sharing/mod.rs index ab667795a3b..de815d11520 100644 --- a/components/style/sharing/mod.rs +++ b/components/style/sharing/mod.rs @@ -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; } |