mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Refactored a bluetooth* related files from codeStyle to code_style.
This commit is contained in:
parent
55ff161ed5
commit
5fa54177ca
5 changed files with 32 additions and 32 deletions
|
@ -28,20 +28,20 @@ pub struct BluetoothRemoteGATTDescriptor {
|
|||
characteristic: MutHeap<JS<BluetoothRemoteGATTCharacteristic>>,
|
||||
uuid: DOMString,
|
||||
value: DOMRefCell<Option<ByteString>>,
|
||||
instanceID: String,
|
||||
instance_id: String,
|
||||
}
|
||||
|
||||
impl BluetoothRemoteGATTDescriptor {
|
||||
pub fn new_inherited(characteristic: &BluetoothRemoteGATTCharacteristic,
|
||||
uuid: DOMString,
|
||||
instanceID: String)
|
||||
instance_id: String)
|
||||
-> BluetoothRemoteGATTDescriptor {
|
||||
BluetoothRemoteGATTDescriptor {
|
||||
reflector_: Reflector::new(),
|
||||
characteristic: MutHeap::new(characteristic),
|
||||
uuid: uuid,
|
||||
value: DOMRefCell::new(None),
|
||||
instanceID: instanceID,
|
||||
instance_id: instance_id,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ impl BluetoothRemoteGATTDescriptor {
|
|||
}
|
||||
|
||||
fn get_instance_id(&self) -> String {
|
||||
self.instanceID.clone()
|
||||
self.instance_id.clone()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue