Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: da43d74457350003e9b23494e90b0c98d5d5c4f2
      
https://github.com/WebKit/WebKit/commit/da43d74457350003e9b23494e90b0c98d5d5c4f2
  Author: Andres Gonzalez <[email protected]>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AXObjectCache.h
    A Source/WebCore/accessibility/AXTreeStore.h
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h
    M Source/WebCore/accessibility/win/AXObjectCacheWin.cpp

  Log Message:
  -----------
  AX: Add AXID identification to both AXObjectCache and AXIsolatedTree so that 
instances of these classes can be retrieved by ID.
https://bugs.webkit.org/show_bug.cgi?id=249480
<rdar://problem/103449294>

Reviewed by Chris Fleizach.

Added a base template class named AXTreeStore for both AXObjectCache and 
AXIsolatedTree that implements a map-based storage for instances. The keys in 
the map are the objects IDs which are assigned on construction. This is 
necessary to retrieve an instance based on its ID. Retrieving an AXObjectCache 
or AXIsolatedTree instance is needed for the TextMarker refactoring in 
https://bugs.webkit.org/show_bug.cgi?id=230558.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to