diff options
Diffstat (limited to 'components/layout/sequential.rs')
-rw-r--r-- | components/layout/sequential.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/layout/sequential.rs b/components/layout/sequential.rs index 3c4755c8e0c..74522354e7d 100644 --- a/components/layout/sequential.rs +++ b/components/layout/sequential.rs @@ -82,7 +82,10 @@ pub fn traverse_flow_tree_preorder(root: &mut FlowRef, if opts::get().bubble_inline_sizes_separately { let bubble_inline_sizes = BubbleISizes { layout_context: &layout_context }; - root.traverse_postorder(&bubble_inline_sizes); + { + let root: &mut Flow = root; + root.traverse_postorder(&bubble_inline_sizes); + } } let assign_inline_sizes = AssignISizes { layout_context: &layout_context }; |