diff --git a/Source/WebCore/page/GlobalWindowIdentifier.h b/Source/WebCore/page/GlobalWindowIdentifier.h index b3d48fae1da7..33a754fff701 100644 --- a/Source/WebCore/page/GlobalWindowIdentifier.h +++ b/Source/WebCore/page/GlobalWindowIdentifier.h @@ -89,7 +89,11 @@ struct GlobalWindowIdentifierHash { template<> struct HashTraits : GenericHashTraits { static WebCore::GlobalWindowIdentifier emptyValue() { return { }; } - static void constructDeletedValue(WebCore::GlobalWindowIdentifier& slot) { new (NotNull, &slot.windowIdentifier) WebCore::WindowIdentifier(WTF::HashTableDeletedValue); } + static void constructDeletedValue(WebCore::GlobalWindowIdentifier& slot) + { + new (NotNull, &slot.processIdentifier) WebCore::ProcessIdentifier(WTF::HashTableDeletedValue); + new (NotNull, &slot.windowIdentifier) WebCore::WindowIdentifier(WTF::HashTableDeletedValue); + } static bool isDeletedValue(const WebCore::GlobalWindowIdentifier& slot) { return slot.windowIdentifier.isHashTableDeletedValue(); } };