Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7c11126819c46a303319c3a121d25c624341a77a
https://github.com/WebKit/WebKit/commit/7c11126819c46a303319c3a121d25c624341a77a
Author: Adrian Taylor <[email protected]>
Date: 2026-05-08 (Fri, 08 May 2026)
Changed paths:
M Source/WebKit/UIProcess/WebBackForwardList.h
Log Message:
-----------
Include ThreadGroup from WebBackForwardList
https://bugs.webkit.org/show_bug.cgi?id=314435
rdar://176587517
Reviewed by Richard Robinson.
We want to apply SWIFT_SHARED_REFERENCE to the WTF ref counted base class
types, so that all ref counted WebKit classes are treated as foreign
reference-counted types from Swift. This causes the Swift clang importer to
consider far more types than it previously did, and some small changes are
required to keep it happy.
This particular change is needed because WebBackForwardList transitively
includes a Ref<ThreadGroup>, via around nine layers of nested types. Swift
believes that it needs to be able to retain and release the ThreadGroup field,
and thus it needs visibility into the whole ThreadGroup type from within the
clang module which contains WebBackForwardList.
This is deemed to be kind-of a Swift bug in that it's being a bit
overenthusiastic trying to import the ThreadGroup type just because we have a
Ref<ThreadGroup> data field, but for now, this is necessary.
Canonical link: https://commits.webkit.org/312930@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications