mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -24,7 +24,8 @@ pub fn resolve_generated_content(root: &mut Flow, layout_context: &LayoutContext
|
|||
ResolveGeneratedContent::new(&layout_context).traverse(root, 0);
|
||||
}
|
||||
|
||||
pub fn traverse_flow_tree_preorder(root: &mut Flow, layout_context: &LayoutContext, relayout_mode: RelayoutMode) {
|
||||
/// Run the main layout passes sequentially.
|
||||
pub fn reflow(root: &mut Flow, layout_context: &LayoutContext, relayout_mode: RelayoutMode) {
|
||||
fn doit(flow: &mut Flow,
|
||||
assign_inline_sizes: AssignISizes,
|
||||
assign_block_sizes: AssignBSizes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue