mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Propagate CanGc
arguments through callers in constructors (#35541)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
5465bfc2af
commit
863d2ce871
260 changed files with 986 additions and 603 deletions
|
@ -420,7 +420,7 @@ impl HTMLFormElementMethods<crate::DomTypeHolder> for HTMLFormElement {
|
|||
form: DomRoot::from_ref(self),
|
||||
});
|
||||
let window = self.owner_window();
|
||||
HTMLFormControlsCollection::new(&window, self, filter)
|
||||
HTMLFormControlsCollection::new(&window, self, filter, CanGc::note())
|
||||
}))
|
||||
}
|
||||
|
||||
|
@ -502,6 +502,7 @@ impl HTMLFormElementMethods<crate::DomTypeHolder> for HTMLFormElement {
|
|||
Atom::from("noreferrer"),
|
||||
Atom::from("opener"),
|
||||
]),
|
||||
CanGc::note(),
|
||||
)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue