[webkit-changes] [WebKit/WebKit] 189f00: Simplify allWorkers() in Worker.cpp

Chris Dumez noreply at github.com
Thu May 2 07:42:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 189f000692bb1326f0a712913299912f6c64fbd9
      https://github.com/WebKit/WebKit/commit/189f000692bb1326f0a712913299912f6c64fbd9
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M Source/WebCore/workers/Worker.cpp

  Log Message:
  -----------
  Simplify allWorkers() in Worker.cpp
https://bugs.webkit.org/show_bug.cgi?id=273605

Reviewed by Per Arne Vollan and Youenn Fablet.

Simplify allWorkers() in Worker.cpp. It doesn't need to store the Worker objects,
we never use them.

* Source/WebCore/workers/Worker.cpp:
(WebCore::WTF_REQUIRES_LOCK):
(WebCore::Worker::networkStateChanged):
(WebCore::Worker::Worker):
(WebCore::Worker::~Worker):
(WebCore::Worker::forEachWorker):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list