mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Auto merge of #29518 - mrobinson:fix-layout-2020-build, r=jdm
Fix the Layout 2020 build <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because testing is not yet enabled for Layout 2020. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
4931ee0eba
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