Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 2bfbc66ff447f329dab0f4158f3b3912b980093e
      
https://github.com/WebKit/WebKit/commit/2bfbc66ff447f329dab0f4158f3b3912b980093e
  Author: Geoffrey Garen <[email protected]>
  Date:   2026-08-11 (Tue, 11 Aug 2026)

  Changed paths:
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    M Source/WTF/wtf/CMakeLists.txt
    M Source/WTF/wtf/InlineWeakPtr.h
    M Source/WTF/wtf/InlineWeakRef.h
    A Source/WTF/wtf/Nonallocatable.h
    M Source/WTF/wtf/RefCountedWithInlineWeakPtr.h
    M Source/WTF/wtf/UniquelyOwned.h
    M Source/WTF/wtf/UniquelyOwnedPtr.h
    M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/rendering/RenderLayer.cpp
    M Source/WebCore/rendering/RenderLayer.h
    M Tools/TestWebKitAPI/CMakeLists.txt
    M Tools/TestWebKitAPI/Tests/WTF/CheckedPtr.cpp
    M Tools/TestWebKitAPI/Tests/WTF/HashMap.cpp
    M Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp
    M Tools/TestWebKitAPI/Tests/WTF/ListHashSet.cpp
    A Tools/TestWebKitAPI/Tests/WTF/RefCountedWithInlineWeakPtr.cpp

  Log Message:
  -----------
  Cherry-pick 318846@main (f880bc57ad50). 
https://bugs.webkit.org/show_bug.cgi?id=321243

Unreviewed backport.

    RefCountedWithInlineWeakPtr is undef in GCC 15
    https://bugs.webkit.org/show_bug.cgi?id=321243
    rdar://184290928

    Reviewed by Ryosuke Niwa.

    This patch moves the refcount bits in RefCountedWithInlineWeakPtr<T> into a
    separately declared type that is adjacent to T, instead of a base class of 
T.

    Technically, it is undef to read bits out of T after ~T(), and GCC 15 is
    aggressive about this. Separating the types works around this restriction.

    The allocation and data layout should remain the exact same in practice.

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

Canonical link: https://commits.webkit.org/305877.1087@webkitglib/2.52



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

Reply via email to