Title: [96784] trunk/Source/WebKit2
Revision
96784
Author
simon.fra...@apple.com
Date
2011-10-05 20:04:49 -0700 (Wed, 05 Oct 2011)

Log Message

r96770 broke binary compatibility with Safari
https://bugs.webkit.org/show_bug.cgi?id=69496

Reviewed by Dan Bernstein.

Fix binary compatibility issue by declaring the deprecated methods inside a extern "C" block.

* UIProcess/API/C/WKContext.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (96783 => 96784)


--- trunk/Source/WebKit2/ChangeLog	2011-10-06 02:38:35 UTC (rev 96783)
+++ trunk/Source/WebKit2/ChangeLog	2011-10-06 03:04:49 UTC (rev 96784)
@@ -1,3 +1,14 @@
+2011-10-05  Simon Fraser  <simon.fra...@apple.com>
+
+        r96770 broke binary compatibility with Safari
+        https://bugs.webkit.org/show_bug.cgi?id=69496
+
+        Reviewed by Dan Bernstein.
+        
+        Fix binary compatibility issue by declaring the deprecated methods inside a extern "C" block.
+
+        * UIProcess/API/C/WKContext.cpp:
+
 2011-10-05  Jer Noble  <jer.no...@apple.com>
 
         Enable WEB_AUDIO by default in the WebKit/mac port.

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp (96783 => 96784)


--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp	2011-10-06 02:38:35 UTC (rev 96783)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp	2011-10-06 03:04:49 UTC (rev 96784)
@@ -36,11 +36,13 @@
 
 using namespace WebKit;
 
+extern "C" {
 // For binary compatibility with Safari 5.1. Should be removed eventually.
 WK_EXPORT void _WKContextSetAdditionalPluginsDirectory(WKContextRef context, WKStringRef pluginsDirectory);
 WK_EXPORT void _WKContextRegisterURLSchemeAsEmptyDocument(WKContextRef context, WKStringRef urlScheme);
 WK_EXPORT void _WKContextSetAlwaysUsesComplexTextCodePath(WKContextRef context, bool alwaysUseComplexTextCodePath);
 WK_EXPORT void _WKContextSetHTTPPipeliningEnabled(WKContextRef context, bool enabled);
+}
 
 WKTypeID WKContextGetTypeID()
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to