mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Make UntrustedNodeAddress a newtype.
This will allow us to make it Send after the Rust upgrade.
This commit is contained in:
parent
1b496d80de
commit
d2f0aac5ce
5 changed files with 7 additions and 5 deletions
|
@ -1131,7 +1131,7 @@ impl ScriptTask {
|
|||
let page = get_page(&*self.page.borrow(), pipeline_id);
|
||||
match page.hit_test(&point) {
|
||||
Some(node_address) => {
|
||||
debug!("node address is {}", node_address);
|
||||
debug!("node address is {}", node_address.0);
|
||||
|
||||
let temp_node =
|
||||
node::from_untrusted_node_address(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue