mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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.
This commit is contained in:
parent
b56297f2a5
commit
1799b0a5df
3 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue