mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -65,7 +65,7 @@ impl XRInputSourceArray {
|
|||
&[],
|
||||
can_gc,
|
||||
);
|
||||
event.upcast::<Event>().fire(session.upcast());
|
||||
event.upcast::<Event>().fire(session.upcast(), can_gc);
|
||||
}
|
||||
|
||||
pub fn remove_input_source(&self, session: &XRSession, id: InputId, can_gc: CanGc) {
|
||||
|
@ -88,7 +88,7 @@ impl XRInputSourceArray {
|
|||
can_gc,
|
||||
);
|
||||
self.input_sources.borrow_mut().retain(|i| i.id() != id);
|
||||
event.upcast::<Event>().fire(session.upcast());
|
||||
event.upcast::<Event>().fire(session.upcast(), can_gc);
|
||||
}
|
||||
|
||||
pub fn add_remove_input_source(
|
||||
|
@ -124,7 +124,7 @@ impl XRInputSourceArray {
|
|||
removed,
|
||||
can_gc,
|
||||
);
|
||||
event.upcast::<Event>().fire(session.upcast());
|
||||
event.upcast::<Event>().fire(session.upcast(), can_gc);
|
||||
}
|
||||
|
||||
pub fn find(&self, id: InputId) -> Option<DomRoot<XRInputSource>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue