Index: device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.cc |
diff --git a/device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.cc b/device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.cc |
index 8dbe316378d57836b857c6759fb4892ea006e73e..80c01974a7a7e666e822f39f9fb20d5e11d9ebc2 100644 |
--- a/device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.cc |
+++ b/device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.cc |
@@ -287,16 +287,16 @@ void BluetoothRemoteGattCharacteristicBlueZ::ReadRemoteCharacteristic( |
} |
void BluetoothRemoteGattCharacteristicBlueZ::WriteRemoteCharacteristic( |
- const std::vector<uint8_t>& new_value, |
+ const std::vector<uint8_t>& value, |
const base::Closure& callback, |
const ErrorCallback& error_callback) { |
VLOG(1) << "Sending GATT characteristic write request to characteristic: " |
<< GetIdentifier() << ", UUID: " << GetUUID().canonical_value() |
- << ", with value: " << new_value << "."; |
+ << ", with value: " << value << "."; |
bluez::BluezDBusManager::Get() |
->GetBluetoothGattCharacteristicClient() |
- ->WriteValue(object_path(), new_value, callback, |
+ ->WriteValue(object_path(), value, callback, |
base::Bind(&BluetoothRemoteGattCharacteristicBlueZ::OnError, |
weak_ptr_factory_.GetWeakPtr(), error_callback)); |
} |