aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetooth/testrunner.rs
diff options
context:
space:
mode:
authorAuguste Baum <52001167+augustebaum@users.noreply.github.com>2025-02-20 17:17:45 +0100
committerGitHub <noreply@github.com>2025-02-20 16:17:45 +0000
commit863d2ce8710fc5141b2c8fd0743697c0956412cb (patch)
tree05d3f853fa53b38a359427ac3d9ff19b7bc75db6 /components/script/dom/bluetooth/testrunner.rs
parent5465bfc2af38e561df5f0a7f81250a0238520d6d (diff)
downloadservo-863d2ce8710fc5141b2c8fd0743697c0956412cb.tar.gz
servo-863d2ce8710fc5141b2c8fd0743697c0956412cb.zip
Propagate `CanGc` arguments through callers in constructors (#35541)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
Diffstat (limited to 'components/script/dom/bluetooth/testrunner.rs')
-rw-r--r--components/script/dom/bluetooth/testrunner.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bluetooth/testrunner.rs b/components/script/dom/bluetooth/testrunner.rs
index d2d42131d08..6cd42efbbef 100644
--- a/components/script/dom/bluetooth/testrunner.rs
+++ b/components/script/dom/bluetooth/testrunner.rs
@@ -29,8 +29,8 @@ impl TestRunner {
}
}
- pub(crate) fn new(global: &GlobalScope) -> DomRoot<TestRunner> {
- reflect_dom_object(Box::new(TestRunner::new_inherited()), global, CanGc::note())
+ pub(crate) fn new(global: &GlobalScope, can_gc: CanGc) -> DomRoot<TestRunner> {
+ reflect_dom_object(Box::new(TestRunner::new_inherited()), global, can_gc)
}
fn get_bluetooth_thread(&self) -> IpcSender<BluetoothRequest> {