[webkit-changes] [WebKit/WebKit] 584e73: AX: Unnecessarily creating a SizedIteratorRange to...

AndresGonzalezApple noreply at github.com
Thu Oct 19 20:55:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 584e735f831da15532bc76a6453f9b78931340b5
      https://github.com/WebKit/WebKit/commit/584e735f831da15532bc76a6453f9b78931340b5
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebProcess.cpp

  Log Message:
  -----------
  AX: Unnecessarily creating a SizedIteratorRange to retrieve value of first item in HashMap.
https://bugs.webkit.org/show_bug.cgi?id=263353
<rdar://problem/117177712>

Reviewed by Chris Fleizach.

Avoid creating unnecessarily a SizedIteratorRange to get the value of the first pair in the HashMap. Minor optimization/code cleanup, follow up to https://bugs.webkit.org/show_bug.cgi?id=262960.

* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::accessibilityRelayProcessSuspended):

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




More information about the webkit-changes mailing list