mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
refactor: propagate CanGc arguments through callers (#35591)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
02199520f2
commit
b0b0289014
74 changed files with 403 additions and 275 deletions
|
@ -49,6 +49,7 @@ impl RadioNodeList {
|
|||
window: &Window,
|
||||
form: &HTMLFormElement,
|
||||
name: &Atom,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<RadioNodeList> {
|
||||
RadioNodeList::new(
|
||||
window,
|
||||
|
@ -57,7 +58,7 @@ impl RadioNodeList {
|
|||
RadioListMode::ControlsExceptImageInputs,
|
||||
name.clone(),
|
||||
)),
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -65,11 +66,12 @@ impl RadioNodeList {
|
|||
window: &Window,
|
||||
form: &HTMLFormElement,
|
||||
name: &Atom,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<RadioNodeList> {
|
||||
RadioNodeList::new(
|
||||
window,
|
||||
NodeListType::Radio(RadioList::new(form, RadioListMode::Images, name.clone())),
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue