mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use Ref::map to make ThreadSafeLayoutNode::style safe.
This commit is contained in:
parent
bb444df679
commit
46b36242a3
3 changed files with 10 additions and 11 deletions
|
@ -667,7 +667,7 @@ impl<'a> FlowConstructor<'a> {
|
|||
|
||||
self.create_fragments_for_node_text_content(&mut initial_fragments,
|
||||
node,
|
||||
node.style());
|
||||
&*node.style());
|
||||
}
|
||||
|
||||
self.build_flow_for_block_starting_with_fragments(flow, node, initial_fragments)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue