Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using Vector::unsafeAppendWithoutCapacityCheck() in ThreadSafeWeakHashSet::values() #20281

Conversation

@cdumez cdumez self-assigned this Nov 10, 2023
@cdumez cdumez marked this pull request as ready for review November 10, 2023 06:17
@cdumez cdumez added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 10, 2023
…eakHashSet::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
@webkit-commit-queue webkit-commit-queue force-pushed the 264545_ThreadSafeWeakHashSet_no_unsafeAppend branch from a972043 to f870891 Compare November 10, 2023 15:11
@webkit-commit-queue
Copy link
Collaborator

Committed 270529@main (f870891): https://commits.webkit.org/270529@main

Reviewed commits have been landed. Closing PR #20281 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit f870891 into WebKit:main Nov 10, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants