diff options
Diffstat (limited to 'components/script/dom/bluetooth/testrunner.rs')
-rw-r--r-- | components/script/dom/bluetooth/testrunner.rs | 4 |
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> { |