aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetooth/bluetoothpermissionresult.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bluetooth/bluetoothpermissionresult.rs')
-rw-r--r--components/script/dom/bluetooth/bluetoothpermissionresult.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bluetooth/bluetoothpermissionresult.rs b/components/script/dom/bluetooth/bluetoothpermissionresult.rs
index 7c0053987c7..2a02936d5f7 100644
--- a/components/script/dom/bluetooth/bluetoothpermissionresult.rs
+++ b/components/script/dom/bluetooth/bluetoothpermissionresult.rs
@@ -112,7 +112,7 @@ impl AsyncBluetoothListener for BluetoothPermissionResult {
// https://w3c.github.io/permissions/#dom-permissions-request
// Step 8.
- return promise.resolve_native(self);
+ return promise.resolve_native(self, can_gc);
}
let bt_device = BluetoothDevice::new(
&self.global(),
@@ -135,7 +135,7 @@ impl AsyncBluetoothListener for BluetoothPermissionResult {
// https://w3c.github.io/permissions/#dom-permissions-request
// Step 8.
- promise.resolve_native(self);
+ promise.resolve_native(self, can_gc);
},
_ => promise.reject_error(Error::Type("Something went wrong...".to_owned())),
}