-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AX: Adding a symmetric relation is calling AXIsolatedTree::addUnconne…
…ctedNode unnecessarily. https://bugs.webkit.org/show_bug.cgi?id=266982 <rdar://problem/120370690> Reviewed by Tyler Wilcock. Follow up to https://bugs.webkit.org/show_bug.cgi?id=266608. Since adding a symmetric relationship involves the same objects as the initial relation, there is no need to call AXIsolatedTree::addUnconnectedNode for symmetric relations. This addition to update the isolated tree belongs to the addRelation overload that takes AX objects. This patch also adds a check to ensure that the objects being related are still alive when adding a symmetric relationship. * Source/WebCore/accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::addRelation): Canonical link: https://commits.webkit.org/272586@main
- Loading branch information
1 parent
f93a665
commit 3a6204e
Showing
1 changed file
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters