Auto merge of #9515 - bholley:stylo_uplifts_2, r=SimonSapin

Stylo uplifts Part 2

A bunch of random things that we might as well merge into the tree.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9515)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-02-04 23:25:09 +05:30
commit 629b1d33d5
8 changed files with 353 additions and 117 deletions

View file

@ -50,6 +50,7 @@ pub fn heap_size_of_local_context() -> usize {
})
}
// Keep this implementation in sync with the one in ports/geckolib/traversal.rs.
fn create_or_get_local_context(shared_layout_context: &SharedLayoutContext)
-> Rc<LocalLayoutContext> {
LOCAL_CONTEXT_KEY.with(|r| {