Auto merge of #26484 - servo:layout-2020-style-prep, r=SimonSapin

Implement concept of dirty root
This commit is contained in:
bors-servo 2020-05-19 11:40:58 -04:00 committed by GitHub
commit 79b6758cb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 294 additions and 97 deletions

View file

@ -63,7 +63,8 @@ pub fn traverse_dom<E, D>(
traversal: &D,
token: PreTraverseToken<E>,
pool: Option<&rayon::ThreadPool>,
) where
) -> E
where
E: TElement,
D: DomTraversal<E>,
{
@ -187,4 +188,6 @@ pub fn traverse_dom<E, D>(
}
}
}
root
}