mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Change the mis-named 'traverse_flow_tree_preorder' to 'reflow'
This commit is contained in:
parent
ee697a926d
commit
832b811198
4 changed files with 11 additions and 9 deletions
|
@ -929,7 +929,7 @@ impl LayoutThread {
|
|||
fn solve_constraints(layout_root: &mut Flow,
|
||||
layout_context: &LayoutContext) {
|
||||
let _scope = layout_debug_scope!("solve_constraints");
|
||||
sequential::traverse_flow_tree_preorder(layout_root, layout_context, RelayoutMode::Incremental);
|
||||
sequential::reflow(layout_root, layout_context, RelayoutMode::Incremental);
|
||||
}
|
||||
|
||||
/// Performs layout constraint solving in parallel.
|
||||
|
@ -946,11 +946,11 @@ impl LayoutThread {
|
|||
|
||||
// NOTE: this currently computes borders, so any pruning should separate that
|
||||
// operation out.
|
||||
parallel::traverse_flow_tree_preorder(layout_root,
|
||||
profiler_metadata,
|
||||
time_profiler_chan,
|
||||
layout_context,
|
||||
traversal);
|
||||
parallel::reflow(layout_root,
|
||||
profiler_metadata,
|
||||
time_profiler_chan,
|
||||
layout_context,
|
||||
traversal);
|
||||
}
|
||||
|
||||
/// Computes the stacking-relative positions of all flows and, if the painting is dirty and the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue