From 04a817c0d21c699d73513b60c8905aa2055c3947 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Mon, 2 Oct 2023 12:34:21 +0200 Subject: [PATCH] Further changes required by Servo --- components/style/selector_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/selector_map.rs b/components/style/selector_map.rs index 1ddd3928364..0d9c20d91ec 100644 --- a/components/style/selector_map.rs +++ b/components/style/selector_map.rs @@ -13,7 +13,6 @@ use crate::selector_parser::SelectorImpl; use crate::stylist::{CascadeData, ContainerConditionId, Rule, Stylist}; use crate::AllocErr; use crate::{Atom, LocalName, Namespace, ShrinkIfNeeded, WeakAtom}; -use dom::ElementState; use precomputed_hash::PrecomputedHash; use selectors::matching::{matches_selector, MatchingContext}; use selectors::parser::{Combinator, Component, SelectorIter}; @@ -21,6 +20,7 @@ use smallvec::SmallVec; use std::collections::hash_map; use std::collections::{HashMap, HashSet}; use std::hash::{BuildHasherDefault, Hash, Hasher}; +use style_traits::dom::ElementState; /// A hasher implementation that doesn't hash anything, because it expects its /// input to be a suitable u32 hash.