| 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 cbeab082164b8bd3b77444bbfc3153bb30b704c7..f58be91213ca31276baaaa8b454be0eae341644e 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| @@ -58,8 +58,14 @@ BluetoothAttributeInstanceMap::getOrCreateBluetoothRemoteGATTCharacteristic(
|
| return characteristic;
|
| }
|
|
|
| +bool BluetoothAttributeInstanceMap::containsCharacteristic(
|
| + const String& characteristicInstanceId) {
|
| + return m_characteristicIdToObject.contains(characteristicInstanceId);
|
| +}
|
| +
|
| void BluetoothAttributeInstanceMap::Clear() {
|
| m_serviceIdToObject.clear();
|
| + m_characteristicIdToObject.clear();
|
| }
|
|
|
| DEFINE_TRACE(BluetoothAttributeInstanceMap) {
|
|
|