mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Pass SharedLayoutContext to DisplayListBuildState::new.
This commit is contained in:
parent
938569e3c7
commit
05e9a9ac86
2 changed files with 7 additions and 7 deletions
|
@ -89,7 +89,7 @@ pub fn build_display_list_for_subtree(root: &mut FlowRef,
|
|||
&mut children);
|
||||
root_stacking_context.add_children(children);
|
||||
let mut build_display_list = BuildDisplayList {
|
||||
state: DisplayListBuildState::new(&layout_context,
|
||||
state: DisplayListBuildState::new(&layout_context.shared,
|
||||
flow::base(&*flow_root).stacking_context_id),
|
||||
};
|
||||
build_display_list.traverse(&mut *flow_root);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue