mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
style: Enable the bloom filter recovering.
This commit is contained in:
parent
84a50ed5cb
commit
de1a3d879f
7 changed files with 66 additions and 29 deletions
|
@ -1131,6 +1131,7 @@ impl LayoutThread {
|
|||
viewport_size_changed,
|
||||
data.reflow_info.goal);
|
||||
|
||||
let dom_depth = Some(0); // This is always the root node.
|
||||
if element.styling_mode() != StylingMode::Stop {
|
||||
// Recalculate CSS styles and rebuild flows and fragments.
|
||||
profile(time::ProfilerCategory::LayoutStyleRecalc,
|
||||
|
@ -1145,7 +1146,7 @@ impl LayoutThread {
|
|||
}
|
||||
Some(ref mut traversal) => {
|
||||
parallel::traverse_dom::<ServoLayoutNode, RecalcStyleAndConstructFlows>(
|
||||
element.as_node(), &shared_layout_context, traversal);
|
||||
element.as_node(), dom_depth, &shared_layout_context, traversal);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue