mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -251,7 +251,7 @@ impl Transferable for MessagePort {
|
|||
};
|
||||
|
||||
let transferred_port =
|
||||
MessagePort::new_transferred(&*owner, id, port_impl.entangled_port_id());
|
||||
MessagePort::new_transferred(owner, id, port_impl.entangled_port_id());
|
||||
owner.track_message_port(&transferred_port, Some(port_impl));
|
||||
|
||||
return_object.set(transferred_port.reflector().rootable().get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue