[webkit-changes] [WebKit/WebKit] 3780fc: [WebGPU] RemoteDevice::createCommandEncoder derefe...

mwyrzykowski noreply at github.com
Wed Feb 7 11:55:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3780fcc482b88f8b4150f967b29814b5d5337a7f
      https://github.com/WebKit/WebKit/commit/3780fcc482b88f8b4150f967b29814b5d5337a7f
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.cpp

  Log Message:
  -----------
  [WebGPU] RemoteDevice::createCommandEncoder dereferences an optional which might be nullopt
https://bugs.webkit.org/show_bug.cgi?id=268668
<radar://122174981>

Reviewed by Tadeu Zagallo.

createCommandEncoder takes an optional<type> but we were derefrencing it,
despite it possibly being nullopt, which is incorrect.

* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.cpp:
(WebKit::RemoteDevice::createCommandEncoder):

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




More information about the webkit-changes mailing list