aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/root.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/flow/root.rs')
-rw-r--r--components/layout_2020/flow/root.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flow/root.rs b/components/layout_2020/flow/root.rs
index 8cd0225ee15..6423aebc096 100644
--- a/components/layout_2020/flow/root.rs
+++ b/components/layout_2020/flow/root.rs
@@ -225,7 +225,7 @@ fn construct_for_root_element<'dom>(
unreachable!()
},
// The root element is blockified, ignore DisplayOutside
- Display::GeneratingBox(DisplayGeneratingBox::OutsideInside { inside, .. }) => inside,
+ Display::GeneratingBox(display_generating_box) => display_generating_box.display_inside(),
};
let contents =