aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_wrapper.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2016-08-10 15:17:16 -0700
committerBobby Holley <bobbyholley@gmail.com>2016-08-26 09:36:53 -0700
commit1799b0a5dfd0923977cad3f5179d287918d371d3 (patch)
tree35c9c5a99fd9b389ec0c18b4d8dafdf80d87d794 /components/script/layout_wrapper.rs
parentb56297f2a57eb79ed47b3aa3a1daf82f29d36b4b (diff)
downloadservo-1799b0a5dfd0923977cad3f5179d287918d371d3.tar.gz
servo-1799b0a5dfd0923977cad3f5179d287918d371d3.zip
Remove unused children_count method from TNode.
The semantics of this method with respect to anonymous children are unclear. Thankfully it's unused, so we can remove it.
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r--components/script/layout_wrapper.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs
index 47ecc910345..906bde60550 100644
--- a/components/script/layout_wrapper.rs
+++ b/components/script/layout_wrapper.rs
@@ -170,10 +170,6 @@ impl<'ln> TNode for ServoLayoutNode<'ln> {
self.opaque().0
}
- fn children_count(&self) -> u32 {
- unsafe { self.node.children_count() }
- }
-
fn as_element(&self) -> Option<ServoLayoutElement<'ln>> {
as_element(self.node)
}