[webkit-changes] [WebKit/WebKit] 7f272a: AX: Remove dead code from AXIsolatedObject::getOrR...

AndresGonzalezApple noreply at github.com
Tue Jan 23 06:34:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f272ab1ac5c945207d05662cd3248df6f0604ec
      https://github.com/WebKit/WebKit/commit/7f272ab1ac5c945207d05662cd3248df6f0604ec
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h

  Log Message:
  -----------
  AX: Remove dead code from AXIsolatedObject::getOrRetrievePropertyValue.
https://bugs.webkit.org/show_bug.cgi?id=267894
<rdar://problem/121404800>

Reviewed by Tyler Wilcock.

Removed the lazy retrieval of the AccessibilityText property that is now cached eagerly, making this switch case unnecessary.

* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::getOrRetrievePropertyValue):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h:
Removed unused enumerators.

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




More information about the webkit-changes mailing list