Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d6f8648c546867fc79640dcd74cc06428c8acae6
https://github.com/WebKit/WebKit/commit/d6f8648c546867fc79640dcd74cc06428c8acae6
Author: Geoffrey Garen <[email protected]>
Date: 2025-11-21 (Fri, 21 Nov 2025)
Changed paths:
M Source/WTF/wtf/RefCounted.h
M Source/WTF/wtf/SwiftBridging.h
M Source/WTF/wtf/ThreadSafeRefCounted.h
M Source/WTF/wtf/ThreadSafeWeakPtr.h
Log Message:
-----------
Annotations in WebGPU to suppress `SWIFT_SHARED_REFERENCE` ownership related
warnings
https://bugs.webkit.org/show_bug.cgi?id=302963
rdar://162244824
Reviewed by Mike Wyrzykowski.
A new requirement in Swift interop is that every function that returns T*, where
T is refcounted, must specify whether the return value holds a +0 or +1
refcount.
For WebKit types returned raw pointers are always +0, so we can annotate a
default and avoid annotating every function (thank God!).
Canonical link: https://commits.webkit.org/303421@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications