Index: device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
diff --git a/device/bluetooth/bluetooth_gatt_connection_chromeos.cc b/device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
index b0551cff1dc16295e7f991ee756e9cbd13568087..93b9747adcebc1cc8328e05be635f1f647de5158 100644 |
--- a/device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
+++ b/device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
@@ -16,9 +16,8 @@ BluetoothGattConnectionChromeOS::BluetoothGattConnectionChromeOS( |
scoped_refptr<device::BluetoothAdapter> adapter, |
const std::string& device_address, |
const dbus::ObjectPath& object_path) |
- : connected_(true), |
- adapter_(adapter), |
- device_address_(device_address), |
+ : BluetoothGattConnection(adapter.get(), device_address), |
+ connected_(true), |
object_path_(object_path) { |
DCHECK(adapter_.get()); |
DCHECK(!device_address_.empty()); |
@@ -32,10 +31,6 @@ BluetoothGattConnectionChromeOS::~BluetoothGattConnectionChromeOS() { |
Disconnect(); |
} |
-std::string BluetoothGattConnectionChromeOS::GetDeviceAddress() const { |
- return device_address_; |
-} |
- |
bool BluetoothGattConnectionChromeOS::IsConnected() { |
// Lazily determine the activity state of the connection. If already |
// marked as inactive, then return false. Otherwise, explicitly mark |