[webkit-changes] [WebKit/WebKit] e081fc: AX: AccessibilityNodeObject::ariaLabeledByText app...

Tyler Wilcock noreply at github.com
Sat Oct 22 20:48:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e081fcf0fbd4400cf01109cee894ec79903275ac
      https://github.com/WebKit/WebKit/commit/e081fcf0fbd4400cf01109cee894ec79903275ac
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M Source/WebCore/accessibility/AccessibilityNodeObject.cpp

  Log Message:
  -----------
  AX: AccessibilityNodeObject::ariaLabeledByText appends to a Vector that it never uses
https://bugs.webkit.org/show_bug.cgi?id=246905
rdar://problem/101462816

Reviewed by Chris Fleizach.

In this commit:

https://github.com/WebKit/WebKit/commit/f8283a7eece23958929380c652cebb7e7d302244 (Removed unused textElements member from AccessibilityText structure)

We stopped using the local `axElements` Vector in AccessibilityNodeObject::ariaLabeledByText, but still build it for no reason.

* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::ariaLabeledByText const):

Canonical link: https://commits.webkit.org/255890@main




More information about the webkit-changes mailing list