mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
fixes dereferencing on an immutable reference (#31864)
This commit is contained in:
parent
585e0d69cd
commit
f7669b5238
32 changed files with 76 additions and 77 deletions
|
@ -80,7 +80,7 @@ impl XRInputSourcesChangeEvent {
|
|||
let event = changeevent.upcast::<Event>();
|
||||
event.init_event(type_, bubbles, cancelable);
|
||||
}
|
||||
let _ac = enter_realm(&*global);
|
||||
let _ac = enter_realm(global);
|
||||
let cx = GlobalScope::get_cx();
|
||||
unsafe {
|
||||
rooted!(in(*cx) let mut added_val = UndefinedValue());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue