Add a deprecated stub for WKPreferencesSetMultithreadedWebGLEnabled (and Get)
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Sep 2014 19:52:14 +0000 (19:52 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Sep 2014 19:52:14 +0000 (19:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=137071

Reviewed by Brent Fulgham.

Put in stubs for WKPreferencesSetMultithreadedWebGLEnabled and
WKPreferencesGetMultithreadedWebGLEnabled. These were removed in
r173776 but are still needed for nightly builds to link
(or will be once Yosemite nightlies are available).

* Shared/API/c/WKDeprecatedFunctions.cpp:
(WKPreferencesSetMultithreadedWebGLEnabled):
(WKPreferencesGetMultithreadedWebGLEnabled):

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

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

index 5624cf1..5089b33 100644 (file)
@@ -1,3 +1,19 @@
+2014-09-24  Dean Jackson  <dino@apple.com>
+
+        Add a deprecated stub for WKPreferencesSetMultithreadedWebGLEnabled (and Get)
+        https://bugs.webkit.org/show_bug.cgi?id=137071
+
+        Reviewed by Brent Fulgham.
+
+        Put in stubs for WKPreferencesSetMultithreadedWebGLEnabled and
+        WKPreferencesGetMultithreadedWebGLEnabled. These were removed in
+        r173776 but are still needed for nightly builds to link
+        (or will be once Yosemite nightlies are available).
+
+        * Shared/API/c/WKDeprecatedFunctions.cpp:
+        (WKPreferencesSetMultithreadedWebGLEnabled):
+        (WKPreferencesGetMultithreadedWebGLEnabled):
+
 2014-09-24  Daniel Bates  <dabates@apple.com>
 
         [iOS] Fix the iOS build after <http://trac.webkit.org/changeset/173893>
index cab297e..e7d8e70 100644 (file)
@@ -50,6 +50,9 @@ WK_EXPORT void WKDictionaryRemoveItem(WKMutableDictionaryRef dictionary, WKStrin
 WK_EXPORT void WKPreferencesSetRegionBasedColumnsEnabled(WKPreferencesRef, bool flag);
 WK_EXPORT bool WKPreferencesGetRegionBasedColumnsEnabled(WKPreferencesRef);
 
+WK_EXPORT void WKPreferencesSetMultithreadedWebGLEnabled(WKPreferencesRef, bool);
+WK_EXPORT bool WKPreferencesGetMultithreadedWebGLEnabled(WKPreferencesRef);
+
 #if PLATFORM(MAC)
 WK_EXPORT CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext);
 #endif
@@ -88,6 +91,15 @@ bool WKPreferencesGetRegionBasedColumnsEnabled(WKPreferencesRef)
     return true;
 }
 
+void WKPreferencesSetMultithreadedWebGLEnabled(WKPreferencesRef, bool)
+{
+}
+
+bool WKPreferencesGetMultithreadedWebGLEnabled(WKPreferencesRef)
+{
+    return false;
+}
+
 #if PLATFORM(MAC)
 CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext)
 {