Fix the build after r233089
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2018 20:21:15 +0000 (20:21 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2018 20:21:15 +0000 (20:21 +0000)
* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _setColorFilterEnabled:]):
(-[WKPreferences _colorFilterEnabled]):

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm

index 60ba70d..ff5ac1d 100644 (file)
@@ -1,3 +1,11 @@
+2018-06-22  Timothy Horton  <timothy_horton@apple.com>
+
+        Fix the build after r233089
+
+        * UIProcess/API/Cocoa/WKPreferences.mm:
+        (-[WKPreferences _setColorFilterEnabled:]):
+        (-[WKPreferences _colorFilterEnabled]):
+
 2018-06-22  Chris Dumez  <cdumez@apple.com>
 
         Crash under WebResourceLoadStatisticsStore::mergeStatistics(WTF::Vector<WebCore::ResourceLoadStatistics, 0ul, WTF::CrashOnOverflow, 16ul>&&)
index 110aa8c..7b49dff 100644 (file)
@@ -751,6 +751,16 @@ static WebCore::EditableLinkBehavior toEditableLinkBehavior(_WKEditableLinkBehav
     return _preferences->isAVFoundationEnabled();
 }
 
+- (void)_setColorFilterEnabled:(BOOL)enabled
+{
+    _preferences->setColorFilterEnabled(enabled);
+}
+
+- (BOOL)_colorFilterEnabled
+{
+    return _preferences->colorFilterEnabled();
+}
+
 #if PLATFORM(MAC)
 - (void)_setJavaEnabledForLocalFiles:(BOOL)enabled
 {
@@ -862,16 +872,6 @@ static WebCore::EditableLinkBehavior toEditableLinkBehavior(_WKEditableLinkBehav
     return _preferences->pageCacheSupportsPlugins();
 }
 
-- (void)_setColorFilterEnabled:(BOOL)enabled
-{
-    _preferences->setColorFilterEnabled(enabled);
-}
-
-- (BOOL)_colorFilterEnabled
-{
-    return _preferences->colorFilterEnabled();
-}
-
 - (void)_setShouldPrintBackgrounds:(BOOL)enabled
 {
     _preferences->setShouldPrintBackgrounds(enabled);