[webkit-changes] [WebKit/WebKit] a3d783: Add WeakListHashSet
Ryosuke Niwa
noreply at github.com
Fri Jan 27 10:36:19 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a3d783a2cba3636a1e7094dd14c06f9428a4c60c
https://github.com/WebKit/WebKit/commit/a3d783a2cba3636a1e7094dd14c06f9428a4c60c
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-01-27 (Fri, 27 Jan 2023)
Changed paths:
M Source/WTF/WTF.xcodeproj/project.pbxproj
M Source/WTF/wtf/CMakeLists.txt
A Source/WTF/wtf/WeakListHashSet.h
M Source/WTF/wtf/WeakPtr.h
M Tools/TestWebKitAPI/Tests/WTF/WeakPtr.cpp
Log Message:
-----------
Add WeakListHashSet
https://bugs.webkit.org/show_bug.cgi?id=251181
Reviewed by Chris Dumez.
Added WeakPtr version of ListHashSet.
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/WeakListHashSet.h: Added.
(WTF::WeakListHashSet): Added.
* Source/WTF/wtf/WeakPtr.h:
* Tools/TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
(TestWebKitAPI::computeSizeOfWeakListHashSet):
(WTF_WeakPtr.WeakListHashSetBasic):
(WTF_WeakPtr.WeakListHashMapConstObjects):
(WTF_WeakPtr.WeakListHashSetRemoveIterator):
(WTF_WeakPtr.WeakListHashSetExpansion):
(WTF_WeakPtr.WeakListHashSetIsEmptyIgnoringNullReferences):
(WTF_WeakPtr.WeakListHashSetRemoveNullReferences):
(TestWebKitAPI::collectItemsInWeakListHashSet):
(WTF_WeakPtr.WeakListHashSetIterators):
(WTF_WeakPtr.WeakListHashSetAppendOrMoveToLast):
(WTF_WeakPtr.WeakListHashSetPrependOrMoveToFirst):
Canonical link: https://commits.webkit.org/259500@main
More information about the webkit-changes
mailing list