[webkit-changes] [WebKit/WebKit] 278013: AX: Do not re-create the entire relations map ever...

AndresGonzalezApple noreply at github.com
Wed Jan 11 19:05:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 278013ba227404802283cb474a9f9f66751fa807
      https://github.com/WebKit/WebKit/commit/278013ba227404802283cb474a9f9f66751fa807
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

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

  Log Message:
  -----------
  AX: Do not re-create the entire relations map every time a relation attribute changes.
https://bugs.webkit.org/show_bug.cgi?id=250234
<rdar://problem/103968374>

Reviewed by Chris Fleizach.

Added AXObjectCache::updateRelations to update the relations for a given element and attribute. Call this new method from handleAttributeChange instead of causing a complete re-creation of the relations map.

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




More information about the webkit-changes mailing list