diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 5bf08c2a92d..a97ec1cb9ad 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -554,12 +554,6 @@ pub trait MutableFlowUtils { fn traverse_preorder_absolute_flows(&mut self, traversal: &mut T) where T: PreorderFlowTraversal; - /// Traverse the Absolute flow tree in postorder. - /// - /// Return true if the traversal is to continue or false to stop. - fn traverse_postorder_absolute_flows(&mut self, traversal: &mut T) - where T: PostorderFlowTraversal; - // Mutators /// Calls `repair_style` and `bubble_inline_sizes`. You should use this method instead of @@ -1417,18 +1411,6 @@ impl<'a> MutableFlowUtils for &'a mut Flow { descendant_link.traverse_preorder_absolute_flows(traversal) } } - - /// Traverse the Absolute flow tree in postorder. - /// - /// Return true if the traversal is to continue or false to stop. - fn traverse_postorder_absolute_flows(&mut self, traversal: &mut T) - where T: PostorderFlowTraversal { - for mut descendant_link in mut_base(*self).abs_descendants.iter() { - descendant_link.traverse_postorder_absolute_flows(traversal); - } - - traversal.process(*self) - } } impl MutableOwnedFlowUtils for FlowRef {