aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetooth.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-01-07 13:27:19 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-01-08 09:44:41 +0530
commit02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9 (patch)
treeb80ca8ca874d2e4b30b579795292c168daccbb39 /components/script/dom/bluetooth.rs
parentbd636b0e6c4f124281ce9206eedd7f60ba4ed475 (diff)
downloadservo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.tar.gz
servo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.zip
Add accountable-refcell as optional build time feature
Diffstat (limited to 'components/script/dom/bluetooth.rs')
-rw-r--r--components/script/dom/bluetooth.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/bluetooth.rs b/components/script/dom/bluetooth.rs
index fad367bb454..7ede2395c04 100644
--- a/components/script/dom/bluetooth.rs
+++ b/components/script/dom/bluetooth.rs
@@ -8,7 +8,7 @@ use bluetooth_traits::blocklist::{Blocklist, uuid_is_blocklisted};
use bluetooth_traits::scanfilter::{BluetoothScanfilter, BluetoothScanfilterSequence};
use bluetooth_traits::scanfilter::{RequestDeviceoptions, ServiceUUIDSequence};
use crate::compartments::{AlreadyInCompartment, InCompartment};
-use crate::dom::bindings::cell::DomRefCell;
+use crate::dom::bindings::cell::{DomRefCell, Ref};
use crate::dom::bindings::codegen::Bindings::BluetoothBinding::{self, BluetoothDataFilterInit};
use crate::dom::bindings::codegen::Bindings::BluetoothBinding::{BluetoothMethods, RequestDeviceOptions};
use crate::dom::bindings::codegen::Bindings::BluetoothBinding::BluetoothLEScanFilterInit;
@@ -39,7 +39,6 @@ use js::conversions::ConversionResult;
use js::jsapi::JSObject;
use js::jsval::{ObjectValue, UndefinedValue};
use profile_traits::ipc as ProfiledIpc;
-use std::cell::Ref;
use std::collections::HashMap;
use std::rc::Rc;
use std::str::FromStr;