mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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.
This commit is contained in:
parent
9a7ba89c84
commit
577370746e
85 changed files with 436 additions and 436 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use bluetooth_traits::{BluetoothRequest, BluetoothResponse};
|
||||
use bluetooth_traits::blocklist::{Blocklist, uuid_is_blocklisted};
|
||||
use dom::bindings::cell::DOMRefCell;
|
||||
use dom::bindings::cell::DomRefCell;
|
||||
use dom::bindings::codegen::Bindings::BluetoothRemoteGATTCharacteristicBinding::
|
||||
BluetoothRemoteGATTCharacteristicMethods;
|
||||
use dom::bindings::codegen::Bindings::BluetoothRemoteGATTDescriptorBinding;
|
||||
|
@ -29,7 +29,7 @@ pub struct BluetoothRemoteGATTDescriptor {
|
|||
reflector_: Reflector,
|
||||
characteristic: Dom<BluetoothRemoteGATTCharacteristic>,
|
||||
uuid: DOMString,
|
||||
value: DOMRefCell<Option<ByteString>>,
|
||||
value: DomRefCell<Option<ByteString>>,
|
||||
instance_id: String,
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ impl BluetoothRemoteGATTDescriptor {
|
|||
reflector_: Reflector::new(),
|
||||
characteristic: Dom::from_ref(characteristic),
|
||||
uuid: uuid,
|
||||
value: DOMRefCell::new(None),
|
||||
value: DomRefCell::new(None),
|
||||
instance_id: instance_id,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue