[webkit-changes] [WebKit/WebKit] 3c509a: AX: AXIsolatedObject tries to cache AXPropertyName...
Tyler Wilcock
noreply at github.com
Sun Oct 29 15:33:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3c509adf56773055a43634bf7f81b8c9010212cc
https://github.com/WebKit/WebKit/commit/3c509adf56773055a43634bf7f81b8c9010212cc
Author: Tyler Wilcock <tyler_w at apple.com>
Date: 2023-10-29 (Sun, 29 Oct 2023)
Changed paths:
M Source/WebCore/accessibility/AccessibilityNodeObject.h
M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
Log Message:
-----------
AX: AXIsolatedObject tries to cache AXPropertyName::IsPressed on macOS despite it never being used
https://bugs.webkit.org/show_bug.cgi?id=263849
rdar://problem/117653849
Reviewed by Chris Fleizach.
AXCoreObject::isPressed() is only used on ATSPI and iOS ports, neither
of which enable ITM. Move the caching of this property into the ATSPI
block of AXIsolatedObject::initializeProperties to save a bit of CPU
time.
* Source/WebCore/accessibility/AccessibilityNodeObject.h:
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::initializeProperties):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h:
Canonical link: https://commits.webkit.org/269916@main
More information about the webkit-changes
mailing list