aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-04-06 15:06:51 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2016-04-06 15:06:51 -0700
commitd276e9bc4c2e9c8dd981fde81692953e9fca36c0 (patch)
tree5db1dbf8581840bad1e55a9cda727400ba06d269
parent14eabf0d32b94dba0c0ec0ffcc3b9b950d1e2821 (diff)
downloadservo-d276e9bc4c2e9c8dd981fde81692953e9fca36c0.tar.gz
servo-d276e9bc4c2e9c8dd981fde81692953e9fca36c0.zip
Remove an unnecessary Arc::clone
-rw-r--r--components/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
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);