Avoid the Vec reversal in DisplayList::hit_test.

This commit is contained in:
Ms2ger 2016-06-29 09:46:45 +02:00
parent 4e8ff4f9bc
commit 6b981039d0
3 changed files with 4 additions and 5 deletions

View file

@ -150,6 +150,7 @@ impl LayoutRPC for LayoutRPCImpl {
};
nodes_from_point_list.iter()
.rev()
.map(|metadata| metadata.node.to_untrusted_node_address())
.collect()
}