[webkit-changes] [WebKit/WebKit] 7debec: Null check video element in imageBytesForSource

Alex Christensen noreply at github.com
Wed Mar 13 14:52:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7debec9d62d0792976658aede004da32cefc88b0
      https://github.com/WebKit/WebKit/commit/7debec9d62d0792976658aede004da32cefc88b0
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/fast/webgpu/null-video-texture-expected.txt
    A LayoutTests/fast/webgpu/null-video-texture.html
    M Source/WebCore/Modules/WebGPU/GPUQueue.cpp

  Log Message:
  -----------
  Null check video element in imageBytesForSource
https://bugs.webkit.org/show_bug.cgi?id=270922
rdar://124475221

Reviewed by Mike Wyrzykowski.

Also add a release assertion to verify that the callback is called synchronously
so that the captured references are still in scope.

* LayoutTests/fast/webgpu/null-video-texture-expected.txt: Added.
* LayoutTests/fast/webgpu/null-video-texture.html: Added.
* Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
(WebCore::imageBytesForSource):
(WebCore::GPUQueue::copyExternalImageToTexture):

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