mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Avoid the Vec reversal in DisplayList::hit_test.
This commit is contained in:
parent
4e8ff4f9bc
commit
6b981039d0
3 changed files with 4 additions and 5 deletions
|
@ -150,6 +150,7 @@ impl LayoutRPC for LayoutRPCImpl {
|
|||
};
|
||||
|
||||
nodes_from_point_list.iter()
|
||||
.rev()
|
||||
.map(|metadata| metadata.node.to_untrusted_node_address())
|
||||
.collect()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue