[webkit-changes] [WebKit/WebKit] a01918: Extend scope of counter in WTF_RunLoop API tests

EWS noreply at github.com
Tue Feb 21 19:45:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a0191862c8d6b2b1a9b543c615a1dabe978c4ba9
      https://github.com/WebKit/WebKit/commit/a0191862c8d6b2b1a9b543c615a1dabe978c4ba9
  Author: Alex Christensen <achristensen at webkit.org>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WTF/RunLoop.cpp

  Log Message:
  -----------
  Extend scope of counter in WTF_RunLoop API tests
https://bugs.webkit.org/show_bug.cgi?id=252706

Reviewed by Chris Dumez.

i is referenced by a lambda that is used outside of the scope of the for loop.

* Tools/TestWebKitAPI/Tests/WTF/RunLoop.cpp:
(TestWebKitAPI::TEST):

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




More information about the webkit-changes mailing list