Unreviewed, build fix for macOS and iOS ports, part 2
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2017 10:42:35 +0000 (10:42 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2017 10:42:35 +0000 (10:42 +0000)
Annotate the function with static.

* bindings/js/ScriptModuleLoader.cpp:
(WebCore::rejectToPropagateNetworkError):

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

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

index 9382711..597bb60 100644 (file)
@@ -1,5 +1,14 @@
 2017-02-01  Yusuke Suzuki  <utatane.tea@gmail.com>
 
+        Unreviewed, build fix for macOS and iOS ports, part 2
+
+        Annotate the function with static.
+
+        * bindings/js/ScriptModuleLoader.cpp:
+        (WebCore::rejectToPropagateNetworkError):
+
+2017-02-01  Yusuke Suzuki  <utatane.tea@gmail.com>
+
         Unreviewed, build fix for macOS and iOS ports
 
         * bindings/js/ModuleFetchFailureKind.h: Renamed from Source/ModuleFetchFailureKind.h.
index 00cd0fb..1ce7253 100644 (file)
@@ -125,7 +125,7 @@ JSC::JSInternalPromise* ScriptModuleLoader::resolve(JSC::JSGlobalObject* jsGloba
     return jsPromise.promise();
 }
 
-void rejectToPropagateNetworkError(DeferredPromise& deferred, ModuleFetchFailureKind failureKind, ASCIILiteral message)
+static void rejectToPropagateNetworkError(DeferredPromise& deferred, ModuleFetchFailureKind failureKind, ASCIILiteral message)
 {
     deferred.rejectWithCallback([&] (JSC::ExecState& state, JSDOMGlobalObject&) {
         // We annotate exception with special private symbol. It allows us to distinguish these errors from the user thrown ones.