Index: device/bluetooth/bluetooth_local_gatt_descriptor.h |
diff --git a/device/bluetooth/bluetooth_local_gatt_descriptor.h b/device/bluetooth/bluetooth_local_gatt_descriptor.h |
index 1fdac39d3ad2f86375329b9b89a8bf095a41c266..9f37372707c0b1c60e24c56d796195acb52bb804 100644 |
--- a/device/bluetooth/bluetooth_local_gatt_descriptor.h |
+++ b/device/bluetooth/bluetooth_local_gatt_descriptor.h |
@@ -46,9 +46,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLocalGattDescriptor |
// |kCharacteristicPresentationFormat| are supported for locally hosted |
// descriptors. This method will return NULL if |uuid| is any one of the |
// unsupported predefined descriptor UUIDs. |
- static BluetoothLocalGattDescriptor* Create( |
+ static base::WeakPtr<BluetoothLocalGattDescriptor> Create( |
const BluetoothUUID& uuid, |
- const std::vector<uint8_t>& value, |
BluetoothGattCharacteristic::Permissions permissions, |
BluetoothLocalGattCharacteristic* characteristic); |