aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r--components/layout_thread/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index 589a2744364..b242ecd934f 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -530,6 +530,12 @@ impl Layout for LayoutThread {
kind: ReportKind::ExplicitJemallocHeapSize,
size: self.stylist.size_of(&mut ops),
});
+
+ reports.push(Report {
+ path: path![formatted_url, "layout-thread", "font-context"],
+ kind: ReportKind::ExplicitJemallocHeapSize,
+ size: self.font_context.size_of(&mut ops),
+ });
}
fn reflow(&mut self, script_reflow: script_layout_interface::ScriptReflow) {