mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add a request_content_sizes
parameter to IndependentFormattingContext::construct
This commit is contained in:
parent
2c124b9d0b
commit
cfdd23ac16
8 changed files with 101 additions and 52 deletions
|
@ -1082,7 +1082,8 @@ impl LayoutThread {
|
|||
driver::traverse_dom(&traversal, token, Some(rayon_pool));
|
||||
|
||||
let root_node = document.root_element().unwrap().as_node();
|
||||
let box_tree = rayon_pool.install(|| BoxTreeRoot::construct(traversal.context(), root_node));
|
||||
let box_tree =
|
||||
rayon_pool.install(|| BoxTreeRoot::construct(traversal.context(), root_node));
|
||||
Some(box_tree)
|
||||
} else {
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue