aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-08-21 14:49:22 -0700
committerPatrick Walton <pcwalton@mimiga.net>2015-08-21 16:08:13 -0700
commit930dfbb7adbd6b3358f6a981d9e0f68ee9f7e5d6 (patch)
tree144119133169c2ef44df44ccfeb755d36ddd9d0a /components/layout/construct.rs
parent2fa2a3b5a939d5c0773c943161dd9231f745b3e7 (diff)
downloadservo-930dfbb7adbd6b3358f6a981d9e0f68ee9f7e5d6.tar.gz
servo-930dfbb7adbd6b3358f6a981d9e0f68ee9f7e5d6.zip
layout: Fix merge fallout.
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index 3e5a7448c1e..797f7cf0703 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -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