mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Remove and allow some dead code.
This commit is contained in:
parent
8f2d624cbf
commit
1bc0862214
28 changed files with 20 additions and 152 deletions
|
@ -40,10 +40,6 @@ impl RadioNodeList {
|
|||
RadioNodeList::new(window, NodeListType::Simple(iter.map(|r| JS::from_ref(&*r)).collect()))
|
||||
}
|
||||
|
||||
pub fn empty(window: &Window) -> Root<RadioNodeList> {
|
||||
RadioNodeList::new(window, NodeListType::Simple(vec![]))
|
||||
}
|
||||
|
||||
// FIXME: This shouldn't need to be implemented here since NodeList (the parent of
|
||||
// RadioNodeList) implements Length
|
||||
// https://github.com/servo/servo/issues/5875
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue