[webkit-changes] [WebKit/WebKit] 4f76c5: Use WeakPtr for members of GPUDeviceVideoFrameRequ...

Alex Christensen noreply at github.com
Fri Mar 1 13:22:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f76c56c5655b26ed84f9f1b1d03a59c87e74885
      https://github.com/WebKit/WebKit/commit/4f76c56c5655b26ed84f9f1b1d03a59c87e74885
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
    M Source/WebCore/Modules/WebGPU/GPUDevice.h

  Log Message:
  -----------
  Use WeakPtr for members of GPUDeviceVideoFrameRequestCallback
https://bugs.webkit.org/show_bug.cgi?id=270362
rdar://123908079

Reviewed by Mike Wyrzykowski.

This makes it more robust against lifetime issues.

* Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
* Source/WebCore/Modules/WebGPU/GPUDevice.h:

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