diff options
Diffstat (limited to 'components/selectors/tree.rs')
-rw-r--r-- | components/selectors/tree.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/selectors/tree.rs b/components/selectors/tree.rs index abd56e85cd4..6514a786673 100644 --- a/components/selectors/tree.rs +++ b/components/selectors/tree.rs @@ -5,7 +5,7 @@ //! Traits that nodes must implement. Breaks the otherwise-cyclic dependency between layout and //! style. -use matching::{ElementSelectorFlags, StyleRelations}; +use matching::{ElementSelectorFlags, MatchingContext}; use parser::{AttrSelector, SelectorImpl}; use std::ascii::AsciiExt; @@ -141,7 +141,7 @@ pub trait Element: MatchAttr + Sized { fn match_non_ts_pseudo_class<F>(&self, pc: &<Self::Impl as SelectorImpl>::NonTSPseudoClass, - relations: &mut StyleRelations, + context: &mut MatchingContext, flags_setter: &mut F) -> bool where F: FnMut(&Self, ElementSelectorFlags); |