aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattcharacteristic.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-26 01:32:40 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-26 09:49:08 +0200
commit577370746e2ce3da7fa25a20b8e1bbeed319df65 (patch)
tree8082a48e08b01ad5fbfc29b4bfaf4a47f42f2889 /components/script/dom/bluetoothremotegattcharacteristic.rs
parent9a7ba89c841cc9ea2e2500813aa844b4d9c35828 (diff)
downloadservo-577370746e2ce3da7fa25a20b8e1bbeed319df65.tar.gz
servo-577370746e2ce3da7fa25a20b8e1bbeed319df65.zip
Rename DOMRefCell<T> to DomRefCell<T>
I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
Diffstat (limited to 'components/script/dom/bluetoothremotegattcharacteristic.rs')
-rw-r--r--components/script/dom/bluetoothremotegattcharacteristic.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/bluetoothremotegattcharacteristic.rs b/components/script/dom/bluetoothremotegattcharacteristic.rs
index 276afafa7bc..daefa2dea2f 100644
--- a/components/script/dom/bluetoothremotegattcharacteristic.rs
+++ b/components/script/dom/bluetoothremotegattcharacteristic.rs
@@ -4,7 +4,7 @@
use bluetooth_traits::{BluetoothRequest, BluetoothResponse, GATTType};
use bluetooth_traits::blocklist::{Blocklist, uuid_is_blocklisted};
-use dom::bindings::cell::DOMRefCell;
+use dom::bindings::cell::DomRefCell;
use dom::bindings::codegen::Bindings::BluetoothCharacteristicPropertiesBinding::
BluetoothCharacteristicPropertiesMethods;
use dom::bindings::codegen::Bindings::BluetoothRemoteGATTCharacteristicBinding;
@@ -39,7 +39,7 @@ pub struct BluetoothRemoteGATTCharacteristic {
service: Dom<BluetoothRemoteGATTService>,
uuid: DOMString,
properties: Dom<BluetoothCharacteristicProperties>,
- value: DOMRefCell<Option<ByteString>>,
+ value: DomRefCell<Option<ByteString>>,
instance_id: String,
}
@@ -54,7 +54,7 @@ impl BluetoothRemoteGATTCharacteristic {
service: Dom::from_ref(service),
uuid: uuid,
properties: Dom::from_ref(properties),
- value: DOMRefCell::new(None),
+ value: DomRefCell::new(None),
instance_id: instance_id,
}
}