layout: Fix merge fallout.

This commit is contained in:
Patrick Walton 2015-08-21 14:49:22 -07:00
parent 2fa2a3b5a9
commit 930dfbb7ad
5 changed files with 18 additions and 14 deletions

View file

@ -1282,8 +1282,8 @@ impl<'a> FlowConstructor<'a> {
fn build_flow_for_flex(&mut self, node: &ThreadSafeLayoutNode, float_kind: Option<FloatKind>)
-> ConstructionResult {
let fragment = self.build_fragment_for_block(node);
let flow = Box::new(FlexFlow::from_fragment(fragment, float_kind));
self.build_flow_for_block_like(FlowRef::new(flow), node)
let flow = Arc::new(FlexFlow::from_fragment(fragment, float_kind));
self.build_flow_for_block_like(flow, node)
}
/// Attempts to perform incremental repair to account for recent changes to this node. This