diff options
Diffstat (limited to 'components/style/selector_matching.rs')
-rw-r--r-- | components/style/selector_matching.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/style/selector_matching.rs b/components/style/selector_matching.rs index b0553bf31c1..bc74eb1c122 100644 --- a/components/style/selector_matching.rs +++ b/components/style/selector_matching.rs @@ -169,7 +169,7 @@ impl Stylist { /// The returned boolean indicates whether the style is *shareable*; that is, whether the /// matched selectors are simple enough to allow the matching logic to be reduced to the logic /// in `css::matching::PrivateMatchMethods::candidate_element_allows_for_style_sharing`. - pub fn push_applicable_declarations<'a,E,N,V>( + pub fn push_applicable_declarations<'a,N,V>( &self, element: &N, parent_bf: &Option<Box<BloomFilter>>, @@ -177,8 +177,8 @@ impl Stylist { pseudo_element: Option<PseudoElement>, applicable_declarations: &mut V) -> bool - where E: TElement<'a> + TElementAttributes, - N: TNode<'a,E>, + where N: TNode<'a>, + N::Element: TElementAttributes, V: VecLike<DeclarationBlock> { assert!(!self.is_dirty); assert!(element.is_element()); |