diff --git a/cmake/tools/SetupWebKit.cmake b/cmake/tools/SetupWebKit.cmake index ff750a9631..5b58cbb5d6 100644 --- a/cmake/tools/SetupWebKit.cmake +++ b/cmake/tools/SetupWebKit.cmake @@ -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 019ff6e1e879ff4533f2a857cab5028b6b95ab53) + set(WEBKIT_VERSION 01ac6a63449713c5b7cf38fb03628283041f63be) endif() if(WEBKIT_LOCAL) diff --git a/src/bun.js/bindings/BunDebugger.cpp b/src/bun.js/bindings/BunDebugger.cpp index be9ff69b69..2a584af958 100644 --- a/src/bun.js/bindings/BunDebugger.cpp +++ b/src/bun.js/bindings/BunDebugger.cpp @@ -449,7 +449,7 @@ extern "C" void Bun__ensureDebugger(ScriptExecutionContextIdentifier scriptId, b auto* globalObject = ScriptExecutionContext::getScriptExecutionContext(scriptId)->jsGlobalObject(); globalObject->m_inspectorController = makeUnique(*globalObject, Bun::BunInjectedScriptHost::create()); - globalObject->m_inspectorDebuggable = makeUnique(*globalObject); + globalObject->m_inspectorDebuggable = JSGlobalObjectDebuggable::create(*globalObject); globalObject->setInspectable(true); diff --git a/src/bun.js/bindings/BunString.cpp b/src/bun.js/bindings/BunString.cpp index 8afcbb1ff1..36c2a99b2f 100644 --- a/src/bun.js/bindings/BunString.cpp +++ b/src/bun.js/bindings/BunString.cpp @@ -152,9 +152,11 @@ BunString toStringRef(JSC::JSGlobalObject* globalObject, JSValue value) return { BunStringTag::Empty }; } - str.impl()->ref(); + StringImpl* impl = str.impl(); - return { BunStringTag::WTFStringImpl, { .wtf = str.impl() } }; + impl->ref(); + + return { BunStringTag::WTFStringImpl, { .wtf = impl } }; } BunString toString(WTF::String& wtfString)