[webkit-changes] [WebKit/WebKit] a91030: AccessibilityObjectAtspi::textAttributes() should ...

Žan Doberšek noreply at github.com
Tue Jan 3 02:19:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a910306f1de52119a900d570b630b03e609ab031
      https://github.com/WebKit/WebKit/commit/a910306f1de52119a900d570b630b03e609ab031
  Author: Žan Doberšek <zdobersek at igalia.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp

  Log Message:
  -----------
  AccessibilityObjectAtspi::textAttributes() should move attributes HashMap into the returning struct
https://bugs.webkit.org/show_bug.cgi?id=250019

Reviewed by Carlos Garcia Campos.

In AccessibilityObjectAtspi::textAttributes(), the HashMap can be moved into the
returning TextAttributes struct, removing the nuisance of copying the object otherwise.

* Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp:
(WebCore::AccessibilityObjectAtspi::textAttributes const):

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




More information about the webkit-changes mailing list