Put back a symbol removed in r168978 that Safari needs, but deprecate it.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 May 2014 00:29:37 +0000 (00:29 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 May 2014 00:29:37 +0000 (00:29 +0000)
Reviewed by Anders Carlsson.

* Shared/API/c/WKDeprecatedFunctions.cpp:
(WKPreferencesSetRegionBasedColumnsEnabled):
(WKPreferencesGetRegionBasedColumnsEnabled):

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp

index 6161c23..51b681d 100644 (file)
@@ -1,3 +1,13 @@
+2014-05-16  Simon Fraser  <simon.fraser@apple.com>
+
+        Put back a symbol removed in r168978 that Safari needs, but deprecate it.
+
+        Reviewed by Anders Carlsson.
+
+        * Shared/API/c/WKDeprecatedFunctions.cpp:
+        (WKPreferencesSetRegionBasedColumnsEnabled):
+        (WKPreferencesGetRegionBasedColumnsEnabled):
+
 2014-05-16  Oliver Hunt  <oliver@apple.com>
 
         Separate enabling sandbox extensions from the WEB_PROCESS_SANDBOX flag
index a66dd96..cab297e 100644 (file)
@@ -47,6 +47,9 @@ WK_EXPORT bool WKDictionaryAddItem(WKMutableDictionaryRef dictionary, WKStringRe
 WK_EXPORT bool WKDictionaryIsMutable(WKDictionaryRef dictionary);
 WK_EXPORT void WKDictionaryRemoveItem(WKMutableDictionaryRef dictionary, WKStringRef key);
 
+WK_EXPORT void WKPreferencesSetRegionBasedColumnsEnabled(WKPreferencesRef, bool flag);
+WK_EXPORT bool WKPreferencesGetRegionBasedColumnsEnabled(WKPreferencesRef);
+
 #if PLATFORM(MAC)
 WK_EXPORT CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext);
 #endif
@@ -76,6 +79,15 @@ void WKDictionaryRemoveItem(WKMutableDictionaryRef dictionaryRef, WKStringRef ke
     toImpl(dictionaryRef)->remove(toImpl(keyRef)->string());
 }
 
+void WKPreferencesSetRegionBasedColumnsEnabled(WKPreferencesRef, bool)
+{
+}
+
+bool WKPreferencesGetRegionBasedColumnsEnabled(WKPreferencesRef)
+{
+    return true;
+}
+
 #if PLATFORM(MAC)
 CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext)
 {