Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 471d8436650848188bd73cf3ac05e4654939860d
      
https://github.com/WebKit/WebKit/commit/471d8436650848188bd73cf3ac05e4654939860d
  Author: Andres Gonzalez <andresg...@apple.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AXObjectCache.h

  Log Message:
  -----------
  AX: AXObjectCache::m_deferredUnconnectedNodeList needs to be clear after 
adding the objects to the isolated tree.
https://bugs.webkit.org/show_bug.cgi?id=273296
<rdar://problem/127087786>

Reviewed by Tyler Wilcock.

This collection was not being cleared, so it would keep growing for the life 
time of the cache object.
Also renamed it to m_deferredUnconnectedObjects to better reflect that it is a 
collection of AX objects and not a list of Nodes.

* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::deferAddUnconnectedNode):
(WebCore::AXObjectCache::performDeferredCacheUpdate):
* Source/WebCore/accessibility/AXObjectCache.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to