diff --git a/components/script/dom/bluetoothremotegattcharacteristic.rs b/components/script/dom/bluetoothremotegattcharacteristic.rs index 0fc9d7a41f2..e3e17b4a0f9 100644 --- a/components/script/dom/bluetoothremotegattcharacteristic.rs +++ b/components/script/dom/bluetoothremotegattcharacteristic.rs @@ -76,7 +76,7 @@ impl BluetoothRemoteGATTCharacteristic { global_ref.as_window().bluetooth_thread() } - pub fn get_instance_id(&self) -> String { + fn get_instance_id(&self) -> String { self.instanceID.clone() } } diff --git a/components/script/dom/bluetoothremotegattdescriptor.rs b/components/script/dom/bluetoothremotegattdescriptor.rs index 035233b01f7..f821d4aca2d 100644 --- a/components/script/dom/bluetoothremotegattdescriptor.rs +++ b/components/script/dom/bluetoothremotegattdescriptor.rs @@ -63,7 +63,7 @@ impl BluetoothRemoteGATTDescriptor { global_ref.as_window().bluetooth_thread() } - pub fn get_instance_id(&self) -> String { + fn get_instance_id(&self) -> String { self.instanceID.clone() } } diff --git a/components/script/dom/bluetoothremotegattservice.rs b/components/script/dom/bluetoothremotegattservice.rs index cf0f896d3f6..f0954a1c76f 100644 --- a/components/script/dom/bluetoothremotegattservice.rs +++ b/components/script/dom/bluetoothremotegattservice.rs @@ -63,7 +63,7 @@ impl BluetoothRemoteGATTService { global_ref.as_window().bluetooth_thread() } - pub fn get_instance_id(&self) -> String { + fn get_instance_id(&self) -> String { self.instanceID.clone() } }