Fix the Layout 2020 build

This commit is contained in:
Martin Robinson 2023-03-20 16:56:03 +01:00
parent c7e48cffdd
commit d71d4b61bf

View file

@ -1233,11 +1233,9 @@ impl LayoutThread {
flags,
);
rw_data.nodes_from_point_response = results
.items
.iter()
.map(|item| UntrustedNodeAddress(item.tag.0 as *const c_void))
.collect()
rw_data.nodes_from_point_response =
results.iter().map(|result| result.node).collect()
},
&QueryMsg::ElementInnerTextQuery(node) => {
let node = unsafe { ServoLayoutNode::new(&node) };