aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-21 01:24:02 +0530
committerGitHub <noreply@github.com>2024-10-20 19:54:02 +0000
commit4d11b2dc84d53b90ca5f2b729ffa1a5db2da45e9 (patch)
treeeeaf8d6534467052f92f7653c4c0bb4bb7e55230 /components/script/timers.rs
parentc75f6627ba0e314d5fb4c4c9230e93cbb1b188e3 (diff)
downloadservo-4d11b2dc84d53b90ca5f2b729ffa1a5db2da45e9.tar.gz
servo-4d11b2dc84d53b90ca5f2b729ffa1a5db2da45e9.zip
CanGc fixes from constantsourcenode.rs & window.rs (#33931)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index 3b70a344f8c..a5e491e9180 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -96,7 +96,7 @@ impl OneshotTimerCallback {
OneshotTimerCallback::JsTimer(task) => task.invoke(this, js_timers),
OneshotTimerCallback::TestBindingCallback(callback) => callback.invoke(),
OneshotTimerCallback::FakeRequestAnimationFrame(callback) => callback.invoke(),
- OneshotTimerCallback::RefreshRedirectDue(callback) => callback.invoke(),
+ OneshotTimerCallback::RefreshRedirectDue(callback) => callback.invoke(can_gc),
}
}
}