Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1a66fec098c4c0729d840980ce992f834cb20533
https://github.com/WebKit/WebKit/commit/1a66fec098c4c0729d840980ce992f834cb20533
Author: Geoffrey Garen <[email protected]>
Date: 2025-11-16 (Sun, 16 Nov 2025)
Changed paths:
M Source/WebGPU/WebGPU/Sampler.h
M Source/WebGPU/WebGPU/Sampler.mm
Log Message:
-----------
Remove raw pointer hash table from WebGPU::Sampler
https://bugs.webkit.org/show_bug.cgi?id=302598
rdar://164843430
Reviewed by Chris Dumez.
As required by the SaferCPP bot.
Replaced Sampler* with UniqueSamplerIdentifier.
Also changed UniqueSamplerIdentifier from String to std::array<uint32_t, 4>.
We store UniqueSamplerIdentifier in cross-thread hash tables, so String is not
a great choice.
Canonical link: https://commits.webkit.org/303099@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications