[webkit-changes] [WebKit/WebKit] 8f48b8: AX: Optimize shouldIgnoreGroup to avoid calling Ac...
AndresGonzalezApple
noreply at github.com
Wed Nov 16 05:30:46 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8f48b85eab582b7016e0e116f20a6ca3c56dcdb0
https://github.com/WebKit/WebKit/commit/8f48b85eab582b7016e0e116f20a6ca3c56dcdb0
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2022-11-16 (Wed, 16 Nov 2022)
Changed paths:
M Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm
Log Message:
-----------
AX: Optimize shouldIgnoreGroup to avoid calling AccessibilityObject::textUnderElement unnecessarily.
https://bugs.webkit.org/show_bug.cgi?id=247948
<rdar://problem/102370543>
Reviewed by Chris Fleizach.
Perform the least costly checks first. AccessibilityObject::textUnderElement can be problematic and costly, so avoid calling it in all possible cases.
* Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm:
(WebCore::shouldIgnoreGroup):
Canonical link: https://commits.webkit.org/256730@main
More information about the webkit-changes
mailing list