aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/layout/wrapper.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs
index 4de67c7e6c9..dca07619751 100644
--- a/components/layout/wrapper.rs
+++ b/components/layout/wrapper.rs
@@ -191,10 +191,6 @@ impl<'ln> LayoutNode<'ln> {
}
}
- pub fn has_children(self) -> bool {
- self.first_child().is_some()
- }
-
/// While doing a reflow, the node at the root has no parent, as far as we're
/// concerned. This method returns `None` at the reflow root.
pub fn layout_parent_node(self, shared: &SharedLayoutContext) -> Option<LayoutNode<'ln>> {