-
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: AccessibilityRenderObject::computeAccessibilityIsIgnored performs…
… an unnecessary ancestry traversal for RenderTexts https://bugs.webkit.org/show_bug.cgi?id=264861 rdar://problem/118437052 Reviewed by Chris Fleizach and Andres Gonzalez. AccessibilityRenderObject::computeAccessibilityIsIgnored for RenderTexts traverses the ancestry twice. We can combine this into one traversal. Also modernizes some nearby code to use dynamicDowncast instead of is + downcast. * Source/WebCore/accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored const): Canonical link: https://commits.webkit.org/270805@main
- Loading branch information
Showing
1 changed file
with
23 additions
and
28 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