Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c986e80a9f1cb83e4a58ed27f9ba14e2848d631
      
https://github.com/WebKit/WebKit/commit/8c986e80a9f1cb83e4a58ed27f9ba14e2848d631
  Author: Mike Wyrzykowski <mwyrzykow...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to