Auto merge of #10402 - mbrubeck:make_mut, r=pcwalton

Avoid unnecessary Arc::clone and Arc::make_mut

r? @pcwalton

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10402)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-07 23:22:37 +05:30
commit 39ab006c8f
2 changed files with 13 additions and 1 deletions

View file

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