Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick c11d33b. rdar://problem/104956200
AX: Object IDs should not be generated with AXTreeStore::generateNewID(). https://bugs.webkit.org/show_bug.cgi?id=251577 <rdar://problem/104956200> Reviewed by Chris Fleizach. In the patch for https://bugs.webkit.org/show_bug.cgi?id=249480 <rdar://problem/103449294> I erroneously switched the generation of object IDS in the AXObjectCache to use AXTreeStore::generateNewID. This is wrong because generateNewID checks the presence of the ID against the IDs of AX trees and not against object IDs. This patch rectifies this by bringing back AXObjectCache::generateNewObjectID (new name). * Source/WebCore/accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::generateNewObjectID const): (WebCore::AXObjectCache::getAXID): * Source/WebCore/accessibility/AXObjectCache.h: (WebCore::AXObjectCache::objectForID const): No need to pass AXID by reference since it just wraps an unsgined. Canonical link: https://commits.webkit.org/259922@main Canonical link: https://commits.webkit.org/259548.45@safari-7615.1.21.13-branch
- Loading branch information