mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Merge adjacent identical impl
sections
Prior to #7416 and #7401, many of these `impl` sections were not identical
This commit is contained in:
parent
6431e8da43
commit
5ccb0d43ef
16 changed files with 0 additions and 52 deletions
|
@ -44,9 +44,7 @@ impl HTMLCollection {
|
|||
reflect_dom_object(box HTMLCollection::new_inherited(collection),
|
||||
GlobalRef::Window(window), HTMLCollectionBinding::Wrap)
|
||||
}
|
||||
}
|
||||
|
||||
impl HTMLCollection {
|
||||
pub fn create(window: &Window, root: &Node,
|
||||
filter: Box<CollectionFilter + 'static>) -> Root<HTMLCollection> {
|
||||
HTMLCollection::new(window, Collection(JS::from_ref(root), filter))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue