| Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| index a79d0b6e5c83ab862d4e0dbaf2fc29089b15cf7a..8f1db79a94782bb0cb273f41070d9477c1bd4550 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| @@ -542,7 +542,7 @@ AXID AXObjectCacheImpl::getAXID(AXObject* obj) {
|
|
|
| objID = platformGenerateAXID();
|
|
|
| - m_idsInUse.add(objID);
|
| + m_idsInUse.insert(objID);
|
| obj->setAXObjectID(objID);
|
|
|
| return objID;
|
| @@ -712,7 +712,7 @@ void AXObjectCacheImpl::updateAriaOwns(
|
| HashSet<String> newIds;
|
| bool idsChanged = false;
|
| for (const String& id : idVector) {
|
| - newIds.add(id);
|
| + newIds.insert(id);
|
| if (!currentIds.contains(id)) {
|
| idsChanged = true;
|
| HashSet<AXID>* owners = m_idToAriaOwnersMapping.get(id);
|
| @@ -720,7 +720,7 @@ void AXObjectCacheImpl::updateAriaOwns(
|
| owners = new HashSet<AXID>();
|
| m_idToAriaOwnersMapping.set(id, WTF::wrapUnique(owners));
|
| }
|
| - owners->add(owner->axObjectID());
|
| + owners->insert(owner->axObjectID());
|
| }
|
| }
|
| for (const String& id : currentIds) {
|
|
|