mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fixed the .clone() warnings. (#31819)
This commit is contained in:
parent
95e69fe4ff
commit
9b26dca141
28 changed files with 76 additions and 93 deletions
|
@ -40,10 +40,7 @@ impl MessageChannel {
|
|||
incumbent.track_message_port(&*port2, None);
|
||||
|
||||
// Step 3
|
||||
incumbent.entangle_ports(
|
||||
port1.message_port_id().clone(),
|
||||
port2.message_port_id().clone(),
|
||||
);
|
||||
incumbent.entangle_ports(*port1.message_port_id(), *port2.message_port_id());
|
||||
|
||||
// Steps 4-6
|
||||
reflect_dom_object_with_proto(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue