Index: device/bluetooth/bluez/bluetooth_gatt_characteristic_bluez.h |
diff --git a/device/bluetooth/bluez/bluetooth_gatt_characteristic_bluez.h b/device/bluetooth/bluez/bluetooth_gatt_characteristic_bluez.h |
index 4c0848c05e8502b459d877bdec1f69efcefa21e1..0f0ae2991815497c9adf5f5689b9b4f8d80c68b3 100644 |
--- a/device/bluetooth/bluez/bluetooth_gatt_characteristic_bluez.h |
+++ b/device/bluetooth/bluez/bluetooth_gatt_characteristic_bluez.h |
@@ -27,14 +27,13 @@ class BluetoothGattCharacteristicBlueZ |
const dbus::ObjectPath& object_path() const { return object_path_; } |
protected: |
- explicit BluetoothGattCharacteristicBlueZ( |
- const dbus::ObjectPath& object_path); |
+ BluetoothGattCharacteristicBlueZ(); |
~BluetoothGattCharacteristicBlueZ() override; |
- private: |
// Object path of the D-Bus characteristic object. |
dbus::ObjectPath object_path_; |
+ private: |
// Note: This should remain the last member so it'll be destroyed and |
// invalidate its weak pointers before any other members are destroyed. |
base::WeakPtrFactory<BluetoothGattCharacteristicBlueZ> weak_ptr_factory_; |