diff options
author | Nicholas Nethercote <nnethercote@mozilla.com> | 2015-03-26 19:15:59 -0700 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-03-31 15:37:15 +0200 |
commit | 66902d2c902243004ad5a158b16fccecf9b8a18f (patch) | |
tree | 20da71690cc1ac8d48125995cd4f1c2b71dc04be /components/layout/layout_task.rs | |
parent | c1cc31b9d66f3c61dd0aa7e6a1a43991187d09a5 (diff) | |
download | servo-66902d2c902243004ad5a158b16fccecf9b8a18f.tar.gz servo-66902d2c902243004ad5a158b16fccecf9b8a18f.zip |
Use usize rather than u64 in MemoryReport.
I should have used usize in the first place.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index e535d6f9742..dfc06475ef9 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -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); |