mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
update webkit (#14364)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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); }
|
||||
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
namespace WebCore {
|
||||
|
||||
enum class PortIdentifierType {};
|
||||
using PortIdentifier = LegacyNullableAtomicObjectIdentifier<PortIdentifierType>;
|
||||
using PortIdentifier = AtomicObjectIdentifier<PortIdentifierType>;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user