Use Ref::map to make ThreadSafeLayoutNode::style safe.

This commit is contained in:
Ms2ger 2015-07-17 14:30:33 +02:00
parent bb444df679
commit 46b36242a3
3 changed files with 10 additions and 11 deletions

View file

@ -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)