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
|
@ -2294,7 +2294,7 @@ impl Window {
|
|||
old_url,
|
||||
new_url,
|
||||
CanGc::note());
|
||||
event.upcast::<Event>().fire(this.upcast::<EventTarget>());
|
||||
event.upcast::<Event>().fire(this.upcast::<EventTarget>(), CanGc::note());
|
||||
});
|
||||
// FIXME(nox): Why are errors silenced here?
|
||||
let _ = self.script_chan.send(CommonScriptMsg::Task(
|
||||
|
@ -2497,7 +2497,9 @@ impl Window {
|
|||
mql.Matches(),
|
||||
can_gc,
|
||||
);
|
||||
event.upcast::<Event>().fire(mql.upcast::<EventTarget>());
|
||||
event
|
||||
.upcast::<Event>()
|
||||
.fire(mql.upcast::<EventTarget>(), can_gc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue