mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Multiple CanGc fixes in components/script/dom (#33924)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
ee9e1fbbd6
commit
65c866285f
26 changed files with 77 additions and 37 deletions
|
@ -481,7 +481,7 @@ impl ServiceWorkerGlobalScope {
|
|||
fn dispatch_activate(&self, can_gc: CanGc) {
|
||||
let event = ExtendableEvent::new(self, atom!("activate"), false, false, can_gc);
|
||||
let event = (*event).upcast::<Event>();
|
||||
self.upcast::<EventTarget>().dispatch_event(event);
|
||||
self.upcast::<EventTarget>().dispatch_event(event, can_gc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue