Auto merge of #17481 - jryans:move-rule-node, r=bholley

Stylo: Move match and cascade temporaries to CurrentElementInfo

https://bugzilla.mozilla.org/show_bug.cgi?id=1370719

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17481)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-06-22 17:46:55 -07:00 committed by GitHub
commit 9ba71fcd57
20 changed files with 1003 additions and 657 deletions

View file

@ -902,7 +902,7 @@ impl<'ln> ThreadSafeLayoutNode for ServoThreadSafeLayoutNode<'ln> {
fn parent_style(&self) -> Arc<ComputedValues> {
let parent = self.node.parent_node().unwrap().as_element().unwrap();
let parent_data = parent.get_data().unwrap().borrow();
parent_data.styles().primary.values().clone()
parent_data.styles.primary().clone()
}
fn debug_id(self) -> usize {