update webkit (#14364)

This commit is contained in:
Dylan Conway
2024-10-04 22:32:48 -07:00
committed by GitHub
parent a01f9d8e1b
commit a15244a4c9
4 changed files with 5 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ option(WEBKIT_VERSION "The version of WebKit to use")
option(WEBKIT_LOCAL "If a local version of WebKit should be used instead of downloading")
if(NOT WEBKIT_VERSION)
set(WEBKIT_VERSION 76798f7b2fb287ee9f1ecce98bae895a2d026d93)
set(WEBKIT_VERSION 0a0a3838e5fab36b579df26620237bb62ed6d950)
endif()
if(WEBKIT_LOCAL)

View File

@@ -39,14 +39,13 @@ Ref<MessagePortChannel> MessagePortChannel::create(MessagePortChannelRegistry& r
}
MessagePortChannel::MessagePortChannel(MessagePortChannelRegistry& registry, const MessagePortIdentifier& port1, const MessagePortIdentifier& port2)
: m_registry(registry)
: m_ports { port1, port2 }
, m_registry(registry)
{
relaxAdoptionRequirement();
m_ports[0] = port1;
m_processes[0] = port1.processIdentifier;
m_entangledToProcessProtectors[0] = this;
m_ports[1] = port2;
m_processes[1] = port2.processIdentifier;
m_entangledToProcessProtectors[1] = this;

View File

@@ -68,7 +68,7 @@ struct MessagePortIdentifierHash {
};
template<> struct HashTraits<WebCore::MessagePortIdentifier> : GenericHashTraits<WebCore::MessagePortIdentifier> {
static WebCore::MessagePortIdentifier emptyValue() { return {}; }
static WebCore::MessagePortIdentifier emptyValue() { return { HashTraits<WebCore::ProcessIdentifier>::emptyValue(), HashTraits<WebCore::PortIdentifier>::emptyValue() }; }
static void constructDeletedValue(WebCore::MessagePortIdentifier& slot) { new (NotNull, &slot.processIdentifier) WebCore::ProcessIdentifier(WTF::HashTableDeletedValue); }

View File

@@ -30,6 +30,6 @@
namespace WebCore {
enum class PortIdentifierType {};
using PortIdentifier = LegacyNullableAtomicObjectIdentifier<PortIdentifierType>;
using PortIdentifier = AtomicObjectIdentifier<PortIdentifierType>;
}