[webkit-changes] [WebKit/WebKit] bae628: Use thread safe weak pointers in RemoteMediaResour...

Ryosuke Niwa noreply at github.com
Fri Aug 4 13:32:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bae62859f40c46e938384495d367c6938be79b9f
      https://github.com/WebKit/WebKit/commit/bae62859f40c46e938384495d367c6938be79b9f
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformMediaResourceLoader.h
    M Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.cpp
    M Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.h

  Log Message:
  -----------
  Use thread safe weak pointers in RemoteMediaResourceManager
https://bugs.webkit.org/show_bug.cgi?id=259716

Reviewed by Andy Estes.

Use ThreadSafeWeakPtr in RemoteMediaResourceManager.

* Source/WebCore/platform/graphics/PlatformMediaResourceLoader.h:
* Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.cpp:
(WebKit::RemoteMediaResourceManager::addMediaResource):
(WebKit::RemoteMediaResourceManager::responseReceived):
(WebKit::RemoteMediaResourceManager::redirectReceived):
(WebKit::RemoteMediaResourceManager::dataSent):
(WebKit::RemoteMediaResourceManager::dataReceived):
(WebKit::RemoteMediaResourceManager::accessControlCheckFailed):
(WebKit::RemoteMediaResourceManager::loadFailed):
(WebKit::RemoteMediaResourceManager::loadFinished):
* Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.h:

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




More information about the webkit-changes mailing list