[webkit-changes] [WebKit/WebKit] 4d35a6: AX: AXIsolatedTree::children() should not re-initi...

Tyler Wilcock noreply at github.com
Tue Oct 10 14:52:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d35a6d87939359ff031230ba733a22a45997c79
      https://github.com/WebKit/WebKit/commit/4d35a6d87939359ff031230ba733a22a45997c79
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

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

  Log Message:
  -----------
  AX: AXIsolatedTree::children() should not re-initialize m_children unless they've changed
https://bugs.webkit.org/show_bug.cgi?id=262934
rdar://problem/116715426

Reviewed by Chris Fleizach.

This saves 4.3k samples on an internal webpage.

* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::detachRemoteParts):
(WebCore::AXIsolatedObject::setChildrenIDs):
(WebCore::AXIsolatedObject::children):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h:
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::applyPendingChanges):

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




More information about the webkit-changes mailing list