diff --git a/components/style/matching.rs b/components/style/matching.rs index 8820108766a9..2cd06236473d 100644 --- a/components/style/matching.rs +++ b/components/style/matching.rs @@ -472,7 +472,7 @@ trait PrivateMatchMethods: TElement { fn cascade_internal(&self, context: &StyleContext, primary_style: &ComputedStyle, - pseudo_style: &mut Option<(&PseudoElement, &mut ComputedStyle)>, + pseudo_style: &Option<(&PseudoElement, &mut ComputedStyle)>, booleans: &CascadeBooleans) -> Arc { let shared_context = context.shared; @@ -570,7 +570,7 @@ trait PrivateMatchMethods: TElement { // Compute the new values. let mut new_values = self.cascade_internal(context, primary_style, - &mut pseudo_style, &booleans); + &pseudo_style, &booleans); // Handle animations. if booleans.animate {