mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Use usize for layout node debug ids.
This commit is contained in:
parent
88bc64444c
commit
cd8c03bb49
1 changed files with 3 additions and 3 deletions
|
@ -346,9 +346,9 @@ impl<'ln> LayoutNode<'ln> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn debug_id(self) -> uint {
|
||||
pub fn debug_id(self) -> usize {
|
||||
let opaque: OpaqueNode = OpaqueNodeMethods::from_layout_node(&self);
|
||||
opaque.to_untrusted_node_address().0 as uint
|
||||
opaque.to_untrusted_node_address().0 as usize
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -807,7 +807,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn debug_id(self) -> uint {
|
||||
pub fn debug_id(self) -> usize {
|
||||
self.node.debug_id()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue