Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 70042829e54c7aabd01ff7f28fab2830b7218224
https://github.com/WebKit/WebKit/commit/70042829e54c7aabd01ff7f28fab2830b7218224
Author: Chris Dumez <[email protected]>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M Source/WTF/wtf/HashMap.h
Log Message:
-----------
Drop duplicate translator structs in HashMap.h
https://bugs.webkit.org/show_bug.cgi?id=310015
Reviewed by Rupin Mittal.
HashMapTranslator and HashMapEnsureTranslator are identical.
HashMapTranslatorAdapter and HashMapEnsureTranslatorAdapter are also identical.
Consolidate things to avoid duplication.
* Source/WTF/wtf/HashMap.h:
(WTF::M>::inlineEnsure):
(WTF::HashMapEnsureTranslator::hash): Deleted.
(WTF::HashMapEnsureTranslator::equal): Deleted.
(WTF::HashMapEnsureTranslator::translate): Deleted.
(WTF::HashMapEnsureTranslatorAdapter::hash): Deleted.
(WTF::HashMapEnsureTranslatorAdapter::equal): Deleted.
(WTF::HashMapEnsureTranslatorAdapter::translate): Deleted.
Canonical link: https://commits.webkit.org/309378@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications