mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix the Layout 2020 build
This commit is contained in:
parent
c7e48cffdd
commit
d71d4b61bf
1 changed files with 3 additions and 5 deletions
|
@ -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) };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue