mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Clean up and simplify the accumulation of restyle damage.
This commit is contained in:
parent
0e3aeac922
commit
1f4f099efe
4 changed files with 44 additions and 58 deletions
|
@ -276,7 +276,7 @@ pub trait TElement : PartialEq + Debug + Sized + Copy + Clone + ElementExt + Pre
|
|||
/// values as an argument here, but otherwise Servo would crash due to
|
||||
/// double borrows to return it.
|
||||
fn existing_style_for_restyle_damage<'a>(&'a self,
|
||||
current_computed_values: Option<&'a Arc<ComputedValues>>,
|
||||
current_computed_values: &'a Arc<ComputedValues>,
|
||||
pseudo: Option<&PseudoElement>)
|
||||
-> Option<&'a PreExistingComputedValues>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue