mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement concept of dirty root
This commit is contained in:
parent
518c0660c6
commit
036f123c4e
11 changed files with 251 additions and 64 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue