aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattdescriptor.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-23 04:13:52 +0530
committerGitHub <noreply@github.com>2024-10-22 22:43:52 +0000
commit7fbd2a521ee8ec6b21dd67e462da25883ecccabf (patch)
treea81a220df1e612112e323aba8187f9344fc1fb32 /components/script/dom/bluetoothremotegattdescriptor.rs
parent7b392db02f96fa5f3663c5c9d29eed988efe0030 (diff)
downloadservo-7fbd2a521ee8ec6b21dd67e462da25883ecccabf.tar.gz
servo-7fbd2a521ee8ec6b21dd67e462da25883ecccabf.zip
CanGc fixes from eventtarget.rs (#33973)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/bluetoothremotegattdescriptor.rs')
-rw-r--r--components/script/dom/bluetoothremotegattdescriptor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bluetoothremotegattdescriptor.rs b/components/script/dom/bluetoothremotegattdescriptor.rs
index 1c7ce74b052..0cbac631666 100644
--- a/components/script/dom/bluetoothremotegattdescriptor.rs
+++ b/components/script/dom/bluetoothremotegattdescriptor.rs
@@ -179,7 +179,7 @@ impl BluetoothRemoteGATTDescriptorMethods for BluetoothRemoteGATTDescriptor {
}
impl AsyncBluetoothListener for BluetoothRemoteGATTDescriptor {
- fn handle_response(&self, response: BluetoothResponse, promise: &Rc<Promise>) {
+ fn handle_response(&self, response: BluetoothResponse, promise: &Rc<Promise>, _can_gc: CanGc) {
match response {
// https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattdescriptor-readvalue
BluetoothResponse::ReadValue(result) => {