mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
auto merge of #5441 : servo/servo/heap-unclassified, r=jdm
This commit is contained in:
commit
8976bbfe7d
4 changed files with 43 additions and 44 deletions
|
@ -508,7 +508,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