[GTK][WPE] Fix non-unified build after r251691
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Oct 2019 14:36:32 +0000 (14:36 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Oct 2019 14:36:32 +0000 (14:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=203556

Reviewed by Žan Doberšek.

No new tests needed.

* bindings/js/ScriptModuleLoader.cpp:
(WebCore::rejectPromise): Add missing namespace in call to JSC::JSInternalPromise::create().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251698 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/js/ScriptModuleLoader.cpp

index f06a739..ee35292 100644 (file)
@@ -1,3 +1,15 @@
+2019-10-29  Adrian Perez de Castro  <aperez@igalia.com>
+
+        [GTK][WPE] Fix non-unified build after r251691
+        https://bugs.webkit.org/show_bug.cgi?id=203556
+
+        Reviewed by Žan Doberšek.
+
+        No new tests needed.
+
+        * bindings/js/ScriptModuleLoader.cpp:
+        (WebCore::rejectPromise): Add missing namespace in call to JSC::JSInternalPromise::create().
+
 2019-10-29  Peng Liu  <peng.liu6@apple.com>
 
         [Picture-in-Picture Web API] Synchronize the attributes and properties of HTMLVideoElementPictureInPicture
index b3f06ac..6417f4a 100644 (file)
@@ -215,7 +215,7 @@ JSC::JSValue ScriptModuleLoader::evaluate(JSC::JSGlobalObject* jsGlobalObject, J
 
 static JSC::JSInternalPromise* rejectPromise(JSDOMGlobalObject& globalObject, ExceptionCode ec, ASCIILiteral message)
 {
-    auto* jsPromise = JSInternalPromise::create(globalObject.vm(), globalObject.internalPromiseStructure());
+    auto* jsPromise = JSC::JSInternalPromise::create(globalObject.vm(), globalObject.internalPromiseStructure());
     RELEASE_ASSERT(jsPromise);
     auto deferred = DeferredPromise::create(globalObject, *jsPromise);
     deferred->reject(ec, WTFMove(message));