mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Use usize for debug ids.
This commit is contained in:
parent
40c710ab19
commit
da1e3a3f11
3 changed files with 6 additions and 6 deletions
|
@ -991,9 +991,9 @@ impl BaseFlow {
|
|||
&self.weak_ref_count
|
||||
}
|
||||
|
||||
pub fn debug_id(&self) -> uint {
|
||||
pub fn debug_id(&self) -> usize {
|
||||
let p = self as *const _;
|
||||
p as uint
|
||||
p as usize
|
||||
}
|
||||
|
||||
/// Ensures that all display list items generated by this flow are within the flow's overflow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue