mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Drop mut from pseudo_style for the argument of cascade_internal.
This commit is contained in:
parent
4838addb34
commit
4c4b01954c
1 changed files with 2 additions and 2 deletions
|
@ -472,7 +472,7 @@ trait PrivateMatchMethods: TElement {
|
|||
fn cascade_internal(&self,
|
||||
context: &StyleContext<Self>,
|
||||
primary_style: &ComputedStyle,
|
||||
pseudo_style: &mut Option<(&PseudoElement, &mut ComputedStyle)>,
|
||||
pseudo_style: &Option<(&PseudoElement, &mut ComputedStyle)>,
|
||||
booleans: &CascadeBooleans)
|
||||
-> Arc<ComputedValues> {
|
||||
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue