| Index: device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.cc
|
| diff --git a/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.cc b/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.cc
|
| index c66b95332fe3353f5707f0139b34619c3c1e6ee4..e9d61a825018e8574970a589efaeb2b9759f2549 100644
|
| --- a/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.cc
|
| @@ -33,6 +33,11 @@ BluetoothServiceAttributeValueBlueZ::BluetoothServiceAttributeValueBlueZ(
|
| this->type_ = attribute.type_;
|
| this->size_ = attribute.size_;
|
|
|
| + if (attribute.type_ == NULLTYPE) {
|
| + this->value_ = base::Value::CreateNullValue();
|
| + return;
|
| + }
|
| +
|
| if (attribute.type_ != SEQUENCE) {
|
| this->value_ = base::WrapUnique(attribute.value_->DeepCopy());
|
| return;
|
|
|