[webkit-changes] [WebKit/WebKit] eae902: auto& thread = sharedWorkerThreadProxy->thread() t...

mwyrzykowski noreply at github.com
Mon Jun 17 16:03:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eae90208ffab9cd88a10c9943d39c07cafb233fd
      https://github.com/WebKit/WebKit/commit/eae90208ffab9cd88a10c9943d39c07cafb233fd
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

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

  Log Message:
  -----------
  auto& thread = sharedWorkerThreadProxy->thread() triggers a static analysis warning
https://bugs.webkit.org/show_bug.cgi?id=275578
<radar://130023117>

Reviewed by Geoffrey Garen and Chris Dumez.

Hold a Ref to the thread to avoid the static analysis warning, no functional change
as sharedWorkerThreadProxy already holds a Ref to the same thread.

* Source/WebKit/WebProcess/Storage/WebSharedWorkerContextManagerConnection.cpp:
(WebKit::WebSharedWorkerContextManagerConnection::launchSharedWorker):

Canonical link: https://commits.webkit.org/280095@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