mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
cangc fixes in several files + event.rs + rtcpeerconnection.rs (#34002)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
3b5dc069ae
commit
7ad8822d94
37 changed files with 166 additions and 132 deletions
|
@ -140,7 +140,9 @@ impl ExtendableMessageEvent {
|
|||
ports,
|
||||
can_gc,
|
||||
);
|
||||
Extendablemessageevent.upcast::<Event>().fire(target);
|
||||
Extendablemessageevent
|
||||
.upcast::<Event>()
|
||||
.fire(target, can_gc);
|
||||
}
|
||||
|
||||
pub fn dispatch_error(target: &EventTarget, scope: &GlobalScope, can_gc: CanGc) {
|
||||
|
@ -156,7 +158,7 @@ impl ExtendableMessageEvent {
|
|||
init.ports.clone(),
|
||||
can_gc,
|
||||
);
|
||||
ExtendableMsgEvent.upcast::<Event>().fire(target);
|
||||
ExtendableMsgEvent.upcast::<Event>().fire(target, can_gc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue