diff --git a/components/style/sharing/mod.rs b/components/style/sharing/mod.rs index 4220d88fa0e..ab667795a3b 100644 --- a/components/style/sharing/mod.rs +++ b/components/style/sharing/mod.rs @@ -676,12 +676,12 @@ impl StyleSharingCache { return None; } - if *target.local_name() != *candidate.element.local_name() { + if target.local_name() != candidate.element.local_name() { trace!("Miss: Local Name"); return None; } - if *target.namespace() != *candidate.element.namespace() { + if target.namespace() != candidate.element.namespace() { trace!("Miss: Namespace"); return None; }