mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -306,7 +306,7 @@ unsafe extern "C" fn promise_rejection_tracker(
|
|||
CanGc::note()
|
||||
);
|
||||
|
||||
event.upcast::<Event>().fire(&target);
|
||||
event.upcast::<Event>().fire(&target, CanGc::note());
|
||||
}),
|
||||
global.upcast(),
|
||||
).unwrap();
|
||||
|
@ -424,7 +424,7 @@ pub fn notify_about_rejected_promises(global: &GlobalScope) {
|
|||
CanGc::note()
|
||||
);
|
||||
|
||||
let event_status = event.upcast::<Event>().fire(&target);
|
||||
let event_status = event.upcast::<Event>().fire(&target, CanGc::note());
|
||||
|
||||
// Step 4-3.
|
||||
if event_status == EventStatus::Canceled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue