[webkit-changes] [WebKit/WebKit] 8c986e: [WebGPU] RemotePresentationContext::getCurrentText...

mwyrzykowski noreply at github.com
Wed Feb 7 11:36:25 PST 2024


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

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

  Log Message:
  -----------
  [WebGPU] RemotePresentationContext::getCurrentTexture does not handle when getCurrentTexture() returns nullptr
https://bugs.webkit.org/show_bug.cgi?id=268664
<radar://122173189>

Reviewed by Tadeu Zagallo.

If getCurrentTexture return null, we shouldn't dereference it.

* Source/WebKit/GPUProcess/graphics/WebGPU/RemotePresentationContext.cpp:
(WebKit::RemotePresentationContext::getCurrentTexture):

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




More information about the webkit-changes mailing list