mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unused traverse_postorder_absolute_flows method
This commit is contained in:
parent
0d36930727
commit
1f0e42e8fe
1 changed files with 0 additions and 18 deletions
|
@ -554,12 +554,6 @@ pub trait MutableFlowUtils {
|
||||||
fn traverse_preorder_absolute_flows<T>(&mut self, traversal: &mut T)
|
fn traverse_preorder_absolute_flows<T>(&mut self, traversal: &mut T)
|
||||||
where T: PreorderFlowTraversal;
|
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<T>(&mut self, traversal: &mut T)
|
|
||||||
where T: PostorderFlowTraversal;
|
|
||||||
|
|
||||||
// Mutators
|
// Mutators
|
||||||
|
|
||||||
/// Calls `repair_style` and `bubble_inline_sizes`. You should use this method instead of
|
/// 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)
|
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<T>(&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 {
|
impl MutableOwnedFlowUtils for FlowRef {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue