From d276e9bc4c2e9c8dd981fde81692953e9fca36c0 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Wed, 6 Apr 2016 15:06:51 -0700 Subject: [PATCH] Remove an unnecessary Arc::clone --- components/layout/construct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 6ee484e4c33..8ba85710ae3 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -973,7 +973,7 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode> block_flow)); let fragment = Fragment::from_opaque_node_and_style(node.opaque(), node.get_pseudo_element_type().strip(), - modified_style.clone(), + modified_style, node.selected_style().clone(), node.restyle_damage(), fragment_info);