mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -393,10 +393,10 @@ impl<'le> TElement for ServoLayoutElement<'le> {
|
|||
|
||||
#[inline]
|
||||
fn existing_style_for_restyle_damage<'a>(&'a self,
|
||||
current_cv: Option<&'a Arc<ComputedValues>>,
|
||||
current_cv: &'a Arc<ComputedValues>,
|
||||
_pseudo_element: Option<&PseudoElement>)
|
||||
-> Option<&'a Arc<ComputedValues>> {
|
||||
current_cv
|
||||
Some(current_cv)
|
||||
}
|
||||
|
||||
fn has_dirty_descendants(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue