[webkit-changes] [WebKit/WebKit] b2bb9e: Add isEmptyValue() to more HashTraits structures
Chris Dumez
noreply at github.com
Mon Sep 16 08:20:45 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b2bb9e615f7815483f79522af70b42e7e8115276
https://github.com/WebKit/WebKit/commit/b2bb9e615f7815483f79522af70b42e7e8115276
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M Source/WTF/wtf/CheckedPtr.h
M Source/WTF/wtf/GenericHashKey.h
M Source/WTF/wtf/HashTraits.h
M Source/WTF/wtf/ObjectIdentifier.h
M Source/WTF/wtf/RetainPtr.h
M Source/WTF/wtf/UUID.h
M Source/WTF/wtf/UniqueRef.h
M Source/WebCore/Modules/indexeddb/shared/IDBIndexInfo.h
M Source/WebCore/Modules/indexeddb/shared/IDBObjectStoreInfo.h
M Source/WebCore/PAL/pal/SessionID.h
M Source/WebCore/dom/MessagePortIdentifier.h
M Source/WebCore/layout/LayoutUnits.h
M Source/WebCore/loader/PCMSites.h
M Source/WebCore/loader/ResourceCryptographicDigest.h
M Source/WebCore/page/GlobalWindowIdentifier.h
M Source/WebCore/platform/ProcessQualified.h
M Source/WebCore/platform/graphics/Color.h
M Source/WebCore/platform/graphics/ColorHash.h
M Source/WebCore/platform/graphics/IntPointHash.h
M Source/WebCore/platform/network/DNS.h
M Source/WebKit/NetworkProcess/cache/NetworkCache.h
M Source/WebKit/UIProcess/API/cpp/WKRetainPtr.h
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/AsyncPDFRenderer.h
Log Message:
-----------
Add isEmptyValue() to more HashTraits structures
https://bugs.webkit.org/show_bug.cgi?id=279724
Reviewed by Darin Adler.
Add isEmptyValue() to more HashTraits structures to avoid
constructing empty values in HashTable::checkKey().
* Source/WTF/wtf/CheckedPtr.h:
(WTF::HashTraits<CheckedPtr<P>>::isEmptyValue):
* Source/WTF/wtf/GenericHashKey.h:
* Source/WTF/wtf/HashTraits.h:
(WTF::HashTraits<UniqueRef<T>>::isEmptyValue):
(WTF::HashTraits<ASCIILiteral>::isEmptyValue):
(WTF::PairHashTraits::isEmptyValue):
(WTF::KeyValuePairHashTraits::isEmptyValue):
* Source/WTF/wtf/ObjectIdentifier.h:
(WTF::ObjectIdentifierGeneric::isHashTableEmptyValue const):
* Source/WTF/wtf/RetainPtr.h:
(WTF::RetainPtrObjectHashTraits::isEmptyValue):
* Source/WTF/wtf/UUID.h:
(WTF::UUID::isHashTableEmptyValue const):
(WTF::HashTraits<UUID>::isEmptyValue):
* Source/WTF/wtf/UniqueRef.h:
(WTF::UniqueRef::isHashTableEmptyValue const):
* Source/WebCore/Modules/indexeddb/shared/IDBIndexInfo.h:
(WTF::HashTraits<WebCore::IDBIndexInfo>::isEmptyValue):
* Source/WebCore/Modules/indexeddb/shared/IDBObjectStoreInfo.h:
(WTF::HashTraits<WebCore::IDBObjectStoreInfo>::isEmptyValue):
* Source/WebCore/PAL/pal/SessionID.h:
(PAL::SessionID::isHashTableEmptyValue const):
(WTF::HashTraits<PAL::SessionID>::isEmptyValue):
* Source/WebCore/dom/ElementRareData.h:
(WebCore::LayoutUnitMarkableTraits::isEmptyValue):
* Source/WebCore/dom/MessagePortIdentifier.h:
(WTF::HashTraits<WebCore::MessagePortIdentifier>::isEmptyValue):
* Source/WebCore/layout/LayoutUnits.h:
(WTF::HashTraits<WebCore::Layout::SlotPosition>::emptyValue):
(WTF::HashTraits<WebCore::Layout::SlotPosition>::isEmptyValue):
* Source/WebCore/loader/PCMSites.h:
(WTF::HashTraits<WebCore::PCM::SourceSite>::isEmptyValue):
(WTF::HashTraits<WebCore::PCM::AttributionDestinationSite>::isEmptyValue):
* Source/WebCore/loader/ResourceCryptographicDigest.h:
(WTF::HashTraits<WebCore::ResourceCryptographicDigest>::isEmptyValue):
* Source/WebCore/page/GlobalWindowIdentifier.h:
(WTF::HashTraits<WebCore::GlobalWindowIdentifier>::isEmptyValue):
* Source/WebCore/platform/ProcessQualified.h:
(WTF::HashTraits<WebCore::ProcessQualified<T>>::isEmptyValue):
* Source/WebCore/platform/graphics/Color.h:
(WebCore::Color::isHashTableEmptyValue const):
* Source/WebCore/platform/graphics/ColorHash.h:
(WTF::HashTraits<WebCore::Color>::isEmptyValue):
* Source/WebCore/platform/graphics/IntPointHash.h:
(WTF::HashTraits<WebCore::IntPoint>::isEmptyValue):
* Source/WebCore/platform/network/DNS.h:
(WebCore::IPAddress::isHashTableEmptyValue const):
(WTF::HashTraits<WebCore::IPAddress>::isEmptyValue):
* Source/WebKit/NetworkProcess/cache/NetworkCache.h:
(WTF::HashTraits<WebKit::NetworkCache::GlobalFrameID>::isEmptyValue):
* Source/WebKit/UIProcess/API/cpp/WKRetainPtr.h:
(WTF::HashTraits<WKRetainPtr<P>>::isEmptyValue):
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/AsyncPDFRenderer.h:
(WTF::HashTraits<WebKit::TileForGrid>::isEmptyValue):
Canonical link: https://commits.webkit.org/283699@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list