diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 22a4e2e9e9b..fcb7d714f4f 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -3591,8 +3591,12 @@ impl ScriptThread { ) { let window = self.documents.borrow().find_window(pipeline_id); if let Some(window) = window { - let entry = - PerformancePaintTiming::new(window.as_global_scope(), metric_type, metric_value); + let entry = PerformancePaintTiming::new( + window.as_global_scope(), + metric_type, + metric_value, + can_gc, + ); window .Performance() .queue_entry(entry.upcast::<PerformanceEntry>(), can_gc); |