| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| index 1326f66c554bf09e694ac5d5cc2b3d92bf724245..005d4c720827e71ab4db9dbfe26d42976894c83f 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| @@ -27,7 +27,7 @@ BluetoothAttributeInstanceMap::getOrCreateRemoteGATTService(
|
| if (!service) {
|
| service = new BluetoothRemoteGATTService(
|
| std::move(remoteGATTService), isPrimary, deviceInstanceId, m_device);
|
| - m_serviceIdToObject.add(serviceInstanceId, service);
|
| + m_serviceIdToObject.insert(serviceInstanceId, service);
|
| }
|
|
|
| return service;
|
| @@ -51,7 +51,7 @@ BluetoothAttributeInstanceMap::getOrCreateRemoteGATTCharacteristic(
|
| if (!characteristic) {
|
| characteristic = BluetoothRemoteGATTCharacteristic::create(
|
| context, std::move(remoteGATTCharacteristic), service, m_device);
|
| - m_characteristicIdToObject.add(instanceId, characteristic);
|
| + m_characteristicIdToObject.insert(instanceId, characteristic);
|
| }
|
|
|
| return characteristic;
|
| @@ -75,7 +75,7 @@ BluetoothAttributeInstanceMap::getOrCreateBluetoothRemoteGATTDescriptor(
|
|
|
| result =
|
| new BluetoothRemoteGATTDescriptor(std::move(descriptor), characteristic);
|
| - m_descriptorIdToObject.add(instanceId, result);
|
| + m_descriptorIdToObject.insert(instanceId, result);
|
| return result;
|
| }
|
|
|
|
|