Index: device/bluetooth/bluetooth_local_gatt_characteristic.h |
diff --git a/device/bluetooth/bluetooth_local_gatt_characteristic.h b/device/bluetooth/bluetooth_local_gatt_characteristic.h |
index f062452ef60371088d11c53c36414ec5ef48691f..9170d38ac8f319607929f10e47a61947f7dee3e7 100644 |
--- a/device/bluetooth/bluetooth_local_gatt_characteristic.h |
+++ b/device/bluetooth/bluetooth_local_gatt_characteristic.h |
@@ -42,9 +42,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLocalGattCharacteristic |
// characteristic. |
// TODO(rkc): Investigate how to handle |PROPERTY_EXTENDED_PROPERTIES| |
// correctly. |
- static BluetoothLocalGattCharacteristic* Create( |
+ static base::WeakPtr<BluetoothLocalGattCharacteristic> Create( |
const BluetoothUUID& uuid, |
- const std::vector<uint8_t>& value, |
Properties properties, |
Permissions permissions, |
BluetoothLocalGattService* service); |