Title: [264126] trunk/Source/WTF
Revision
264126
Author
gga...@apple.com
Date
2020-07-08 12:29:29 -0700 (Wed, 08 Jul 2020)

Log Message

dyld: Symbol not found: __ZN3WTF19initializeThreadingEv - webkit MacOSX
https://bugs.webkit.org/show_bug.cgi?id=214034

Reviewed by Mark Lam.

* wtf/Threading.cpp:
(WTF::initializeThreading): Export the old symbol name for compatibility.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (264125 => 264126)


--- trunk/Source/WTF/ChangeLog	2020-07-08 19:08:14 UTC (rev 264125)
+++ trunk/Source/WTF/ChangeLog	2020-07-08 19:29:29 UTC (rev 264126)
@@ -1,3 +1,13 @@
+2020-07-08  Geoffrey Garen  <gga...@apple.com>
+
+        dyld: Symbol not found: __ZN3WTF19initializeThreadingEv - webkit MacOSX
+        https://bugs.webkit.org/show_bug.cgi?id=214034
+
+        Reviewed by Mark Lam.
+
+        * wtf/Threading.cpp:
+        (WTF::initializeThreading): Export the old symbol name for compatibility.
+
 2020-07-07  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK] WebProcess hangs when browsing GitHub

Modified: trunk/Source/WTF/wtf/Threading.cpp (264125 => 264126)


--- trunk/Source/WTF/wtf/Threading.cpp	2020-07-08 19:08:14 UTC (rev 264125)
+++ trunk/Source/WTF/wtf/Threading.cpp	2020-07-08 19:29:29 UTC (rev 264126)
@@ -369,4 +369,13 @@
     });
 }
 
+// This is a compatibility hack to prevent linkage errors when launching older
+// versions of Safari. initialize() used to be named initializeThreading(), and
+// Safari.framework used to call it directly from NotificationAgentMain.
+WTF_EXPORT_PRIVATE void initializeThreading();
+void initializeThreading()
+{
+    initialize();
+}
+
 } // namespace WTF
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to