From 1f0e42e8fe721d896796205669f7265f2ed64b3e Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Mon, 7 Aug 2017 12:50:15 -0700 Subject: [PATCH] Remove unused traverse_postorder_absolute_flows method --- components/layout/flow.rs | 18 ------------------ 1 file changed, 18 deletions(-) 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 {