Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f74cdf3ffdad8910e3913e7da282a3f307956cb
      
https://github.com/WebKit/WebKit/commit/5f74cdf3ffdad8910e3913e7da282a3f307956cb
  Author: Ruthvik Konda <[email protected]>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

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

  Log Message:
  -----------
  [WebGPU] Remove duplicate no-op m_swapChain = nullptr in 
PresentationContextImpl::unconfigure
https://bugs.webkit.org/show_bug.cgi?id=318901
rdar://181736245

Reviewed by Mike Wyrzykowski.

unconfigure() assigned m_swapChain = nullptr twice. Because WebGPUPtr only
releases a non-null pointer, the first assignment performs the swap chain
release and the second (after the state resets) is a no-op. Remove the no-op
and keep the release in place, so release timing and destructor ordering are
unchanged.

* 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUPresentationContextImpl.cpp:
(WebCore::WebGPU::PresentationContextImpl::unconfigure):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to