[webkit-changes] [WebKit/WebKit] f87089: Avoid using Vector::unsafeAppendWithoutCapacityChe...
Chris Dumez
noreply at github.com
Fri Nov 10 07:11:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f870891782f2ddc807a309b75a97b7a8b59992da
https://github.com/WebKit/WebKit/commit/f870891782f2ddc807a309b75a97b7a8b59992da
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M Source/WTF/wtf/ThreadSafeWeakHashSet.h
Log Message:
-----------
Avoid using Vector::unsafeAppendWithoutCapacityCheck() in ThreadSafeWeakHashSet::values()
https://bugs.webkit.org/show_bug.cgi?id=264545
Reviewed by Darin Adler.
Use WTF::compactMap() instead.
* Source/WTF/wtf/ThreadSafeWeakHashSet.h:
Canonical link: https://commits.webkit.org/270529@main
More information about the webkit-changes
mailing list