| 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 24472e9113c8d3df1c84301c02245d794aca0b2e..7959f89b3667131c98b3904b766722b17836abe1 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| @@ -558,7 +558,7 @@ void AXObjectCacheImpl::removeAXID(AXObject* object) {
|
| ASSERT(!HashTraits<AXID>::isDeletedValue(objID));
|
| ASSERT(m_idsInUse.contains(objID));
|
| object->setAXObjectID(0);
|
| - m_idsInUse.remove(objID);
|
| + m_idsInUse.erase(objID);
|
|
|
| if (m_ariaOwnerToChildrenMapping.contains(objID)) {
|
| Vector<AXID> childAXIDs = m_ariaOwnerToChildrenMapping.get(objID);
|
| @@ -724,7 +724,7 @@ void AXObjectCacheImpl::updateAriaOwns(
|
| idsChanged = true;
|
| HashSet<AXID>* owners = m_idToAriaOwnersMapping.get(id);
|
| if (owners) {
|
| - owners->remove(owner->axObjectID());
|
| + owners->erase(owner->axObjectID());
|
| if (owners->isEmpty())
|
| m_idToAriaOwnersMapping.erase(id);
|
| }
|
|
|