Title: [211475] trunk/Source/WebCore
Revision
211475
Author
utatane....@gmail.com
Date
2017-02-01 02:42:35 -0800 (Wed, 01 Feb 2017)

Log Message

Unreviewed, build fix for macOS and iOS ports, part 2

Annotate the function with static.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211474 => 211475)


--- trunk/Source/WebCore/ChangeLog	2017-02-01 10:32:33 UTC (rev 211474)
+++ trunk/Source/WebCore/ChangeLog	2017-02-01 10:42:35 UTC (rev 211475)
@@ -1,5 +1,14 @@
 2017-02-01  Yusuke Suzuki  <utatane....@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....@gmail.com>
+
         Unreviewed, build fix for macOS and iOS ports
 
         * bindings/js/ModuleFetchFailureKind.h: Renamed from Source/ModuleFetchFailureKind.h.

Modified: trunk/Source/WebCore/bindings/js/ScriptModuleLoader.cpp (211474 => 211475)


--- trunk/Source/WebCore/bindings/js/ScriptModuleLoader.cpp	2017-02-01 10:32:33 UTC (rev 211474)
+++ trunk/Source/WebCore/bindings/js/ScriptModuleLoader.cpp	2017-02-01 10:42:35 UTC (rev 211475)
@@ -125,7 +125,7 @@
     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.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to