aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/sequential.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/sequential.rs')
-rw-r--r--components/layout/sequential.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/sequential.rs b/components/layout/sequential.rs
index 804063b7629..5fca977b8b1 100644
--- a/components/layout/sequential.rs
+++ b/components/layout/sequential.rs
@@ -41,7 +41,7 @@ pub fn resolve_generated_content(root: &mut Flow, shared_layout_context: &Shared
doit(root, 0, &mut traversal)
}
-pub fn traverse_flow_tree_preorder(root: &mut FlowRef,
+pub fn traverse_flow_tree_preorder(root: &mut Flow,
shared_layout_context: &SharedLayoutContext) {
fn doit(flow: &mut Flow,
assign_inline_sizes: AssignISizes,
@@ -61,8 +61,6 @@ pub fn traverse_flow_tree_preorder(root: &mut FlowRef,
let layout_context = LayoutContext::new(shared_layout_context);
- let root = flow_ref::deref_mut(root);
-
if opts::get().bubble_inline_sizes_separately {
let bubble_inline_sizes = BubbleISizes { layout_context: &layout_context };
{