aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-22 15:38:55 +0530
committerGitHub <noreply@github.com>2024-10-22 10:08:55 +0000
commit7015e0fb5f1a63ed13a5b07b056036e6e7adbc16 (patch)
tree0e1cb385daf84a1776ee7a5d2006b90b68e2404f /components/script/timers.rs
parent575e8855294a9ee2094b110a7c1fea868e69251e (diff)
downloadservo-7015e0fb5f1a63ed13a5b07b056036e6e7adbc16.tar.gz
servo-7015e0fb5f1a63ed13a5b07b056036e6e7adbc16.zip
CanGc fixes in `errorevent.rs` (#33960)
* CanGc fixes in errorevent.rs Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Allow too_many_arguments to avoid lint error Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> --------- Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index e4348a1b01f..4f64e529787 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -558,6 +558,7 @@ impl JsTimerTask {
rval.handle_mut(),
ScriptFetchOptions::default_classic_script(&global),
global.api_base_url(),
+ CanGc::note(),
);
},
InternalTimerCallback::FunctionTimerCallback(ref function, ref arguments) => {