diff options
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r-- | components/layout_thread/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index ecfa17ff1d2..8ee539d6f79 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -82,7 +82,7 @@ use layout::query::{process_margin_style_query, process_node_overflow_request, p use layout::query::{process_node_geometry_request, process_node_scroll_area_request}; use layout::query::{process_node_scroll_root_id_request, process_offset_parent_query}; use layout::sequential; -use layout::traversal::{ComputeAbsolutePositions, RecalcStyleAndConstructFlows}; +use layout::traversal::{ComputeStackingRelativePositions, RecalcStyleAndConstructFlows}; use layout::webrender_helpers::WebRenderDisplayListConverter; use layout::wrapper::LayoutNodeLayoutData; use layout_traits::LayoutThreadFactory; @@ -975,7 +975,7 @@ impl LayoutThread { flow::mut_base(layout_root).clip = data.page_clip_rect; if flow::base(layout_root).restyle_damage.contains(REPOSITION) { - layout_root.traverse_preorder(&ComputeAbsolutePositions { + layout_root.traverse_preorder(&ComputeStackingRelativePositions { layout_context: layout_context }); } |