Index: device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc |
diff --git a/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc b/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc |
index a1acc46f4bf6ac70361e50ba659f4fe92b0613e8..382abc947df6028cb51b8f29b26104d51defcb83 100644 |
--- a/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc |
+++ b/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc |
@@ -39,9 +39,8 @@ std::ostream& operator<<(std::ostream& out, const std::vector<uint8_t> bytes) { |
BluetoothRemoteGattDescriptorBlueZ::BluetoothRemoteGattDescriptorBlueZ( |
BluetoothRemoteGattCharacteristicBlueZ* characteristic, |
const dbus::ObjectPath& object_path) |
- : BluetoothGattDescriptorBlueZ(object_path), |
- characteristic_(characteristic), |
- weak_ptr_factory_(this) { |
+ : characteristic_(characteristic), weak_ptr_factory_(this) { |
+ object_path_ = object_path; |
VLOG(1) << "Creating remote GATT descriptor with identifier: " |
<< GetIdentifier() << ", UUID: " << GetUUID().canonical_value(); |
} |