aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r--components/script/script_runtime.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs
index 1e975874253..591b4adece6 100644
--- a/components/script/script_runtime.rs
+++ b/components/script/script_runtime.rs
@@ -700,11 +700,7 @@ pub fn get_reports(cx: *mut RawJSContext, path_seg: String) -> Vec<Report> {
let mut report = |mut path_suffix, kind, size| {
let mut path = path![path_seg, "js"];
path.append(&mut path_suffix);
- reports.push(Report {
- path,
- kind,
- size: size as usize,
- })
+ reports.push(Report { path, kind, size })
};
// A note about possibly confusing terminology: the JS GC "heap" is allocated via