mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01:00
style: Remove unused argument in element_needs_traversal.
This commit is contained in:
parent
7b0006ece6
commit
7ea98a577b
2 changed files with 7 additions and 15 deletions
|
@ -76,8 +76,7 @@ impl<'a, E> DomTraversal<E> for RecalcStyleAndConstructFlows<'a>
|
|||
// flow construction:
|
||||
// (1) They child doesn't yet have layout data (preorder traversal initializes it).
|
||||
// (2) The parent element has restyle damage (so the text flow also needs fixup).
|
||||
node.get_raw_data().is_none() ||
|
||||
parent_data.damage != RestyleDamage::empty()
|
||||
node.get_raw_data().is_none() || !parent_data.damage.is_empty()
|
||||
}
|
||||
|
||||
fn shared_context(&self) -> &SharedStyleContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue