auto merge of #5441 : servo/servo/heap-unclassified, r=jdm

This commit is contained in:
bors-servo 2015-03-31 15:03:56 -06:00
commit 8976bbfe7d
4 changed files with 43 additions and 44 deletions

View file

@ -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);