mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -46,7 +46,7 @@ impl ServiceWorkerContainer {
|
|||
|
||||
#[cfg_attr(crown, allow(crown::unrooted_must_root))]
|
||||
pub(crate) fn new(global: &GlobalScope, can_gc: CanGc) -> DomRoot<ServiceWorkerContainer> {
|
||||
let client = Client::new(global.as_window(), CanGc::note());
|
||||
let client = Client::new(global.as_window(), can_gc);
|
||||
let container = ServiceWorkerContainer::new_inherited(&client);
|
||||
reflect_dom_object(Box::new(container), global, can_gc)
|
||||
}
|
||||
|
@ -244,6 +244,7 @@ impl RegisterJobResultHandler {
|
|||
installing_worker,
|
||||
waiting_worker,
|
||||
active_worker,
|
||||
CanGc::note()
|
||||
);
|
||||
|
||||
// Step 1.4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue