mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use usize rather than u64 in MemoryReport.
I should have used usize in the first place.
This commit is contained in:
parent
c1cc31b9d6
commit
66902d2c90
4 changed files with 43 additions and 44 deletions
|
@ -480,7 +480,7 @@ impl LayoutTask {
|
|||
let stacking_context = rw_data.stacking_context.as_ref();
|
||||
reports.push(Report {
|
||||
path: path!["pages", format!("url({})", self.url), "display-list"],
|
||||
size: stacking_context.map_or(0, |sc| sc.heap_size_of_children() as u64),
|
||||
size: stacking_context.map_or(0, |sc| sc.heap_size_of_children()),
|
||||
});
|
||||
|
||||
reports_chan.send(reports);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue