mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove the dependency of css/matching.rs on SharedLayoutContext.
This commit is contained in:
parent
08f2a24552
commit
94b0789a5f
2 changed files with 21 additions and 22 deletions
|
@ -217,7 +217,7 @@ fn recalc_style_at<'a, 'ln, N: LayoutNode<'ln>> (context: &'a DomTraversalContex
|
|||
|
||||
// Perform the CSS cascade.
|
||||
unsafe {
|
||||
node.cascade_node(context.layout_context.shared,
|
||||
node.cascade_node(&context.layout_context.shared.style_context,
|
||||
parent_opt,
|
||||
&applicable_declarations,
|
||||
&mut context.layout_context.applicable_declarations_cache(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue