Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f48b85eab582b7016e0e116f20a6ca3c56dcdb0
      
https://github.com/WebKit/WebKit/commit/8f48b85eab582b7016e0e116f20a6ca3c56dcdb0
  Author: Andres Gonzalez <andresg...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to