From 928f8433924b4406807f15094d6ab7e9b068977c Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 9 Jul 2015 11:08:01 +0200 Subject: [PATCH] Remove unused has_children method. --- components/layout/wrapper.rs | 4 ---- 1 file changed, 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> {