[webkit-changes] [WebKit/WebKit] 0e04da: WebGPU::Device should not inherit from both CanMak...

mwyrzykowski noreply at github.com
Sun Feb 4 16:24:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0e04da7846ec7e634c06ee0c6404142ae9d5097d
      https://github.com/WebKit/WebKit/commit/0e04da7846ec7e634c06ee0c6404142ae9d5097d
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-04 (Sun, 04 Feb 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/Device.h

  Log Message:
  -----------
  WebGPU::Device should not inherit from both CanMakeWeakPtr and ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr
https://bugs.webkit.org/show_bug.cgi?id=268719
<radar://122254591>

Reviewed by Cameron McCormack.

Device is used as a ThreadSafeWeakPtr in one place (Queue.h)
but there are zero uses of WeakPtr<Device>, so we can remove
the inheritance from CanMakeWeakPtr.

* Source/WebGPU/WebGPU/Device.h:

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




More information about the webkit-changes mailing list