Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f6c812f301934ae94a667d1b848a736fb0288be
      
https://github.com/WebKit/WebKit/commit/8f6c812f301934ae94a667d1b848a736fb0288be
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp

  Log Message:
  -----------
  [WebGPU] PresentationContextImpl::unconfigure may crash if context is null
https://bugs.webkit.org/show_bug.cgi?id=268662
<radar://122173894>

Reviewed by Dan Glastonbury.

The presentation context may be nullptr, so we need to check before calling
member functions on it.

* 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp:
(WebCore::WebGPU::CompositorIntegrationImpl::prepareForDisplay):
(WebCore::WebGPU::CompositorIntegrationImpl::recreateRenderBuffers):

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


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

Reply via email to