mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -381,9 +381,9 @@ impl Event {
|
|||
}
|
||||
|
||||
/// <https://html.spec.whatwg.org/multipage/#fire-a-simple-event>
|
||||
pub fn fire(&self, target: &EventTarget) -> EventStatus {
|
||||
pub fn fire(&self, target: &EventTarget, can_gc: CanGc) -> EventStatus {
|
||||
self.set_trusted(true);
|
||||
target.dispatch_event(self, CanGc::note())
|
||||
target.dispatch_event(self, can_gc)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue