Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a79b26fba67c6763c135261cfd6caf3c6d650f29
      
https://github.com/WebKit/WebKit/commit/a79b26fba67c6763c135261cfd6caf3c6d650f29
  Author: Jer Noble <[email protected]>
  Date:   2026-01-30 (Fri, 30 Jan 2026)

  Changed paths:
    M Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm
    M Source/WebKit/GPUProcess/media/RemoteMediaResourceLoader.cpp

  Log Message:
  -----------
  [Cocoa] Remove main-thread requirement from 
RemoteMediaResourceLoader::sendH2Ping()
rdar://169119186
https://bugs.webkit.org/show_bug.cgi?id=306453

Reviewed by Jean-Yves Avenard.

As a follow up to 306357@main and 306350@main, remove the main thread assertion
in RemoteMediaResourceLoader::sendH2Ping() now that messaging the WebContent
process does not require communicating with the MediaPlayer. At the same time,
remove the main thread dispatch from -[WebCoreNSURLSession 
sendH2Ping:pongHandler:]
now that the RemoteMediaResourceLoader::sendH2Ping() function is thread safe.

* Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm:
(-[WebCoreNSURLSession sendH2Ping:pongHandler:]):
* Source/WebKit/GPUProcess/media/RemoteMediaResourceLoader.cpp:
(WebKit::RemoteMediaResourceLoader::sendH2Ping):

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



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

Reply via email to