Title: [260276] trunk/Source/WebKit
Revision
260276
Author
simon.fra...@apple.com
Date
2020-04-17 13:04:59 -0700 (Fri, 17 Apr 2020)

Log Message

Turn async frame and overflow scrolling on by default on macOS
https://bugs.webkit.org/show_bug.cgi?id=210661
rdar://problem/60420037

Reviewed by Tim Horton.

Flip the plist value and the default value for macOS which is outside of the feature flag #ifdef.

Testing keeps async overflow scrolling off by default, so this should not affect testing.

This only impacts WebKit2.

* FeatureFlags/WebKit.plist:
* Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultAsyncFrameAndOverflowScrollingEnabled):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (260275 => 260276)


--- trunk/Source/WebKit/ChangeLog	2020-04-17 19:46:55 UTC (rev 260275)
+++ trunk/Source/WebKit/ChangeLog	2020-04-17 20:04:59 UTC (rev 260276)
@@ -1,3 +1,21 @@
+2020-04-17  Simon Fraser  <simon.fra...@apple.com>
+
+        Turn async frame and overflow scrolling on by default on macOS
+        https://bugs.webkit.org/show_bug.cgi?id=210661
+        rdar://problem/60420037
+
+        Reviewed by Tim Horton.
+
+        Flip the plist value and the default value for macOS which is outside of the feature flag #ifdef.
+
+        Testing keeps async overflow scrolling off by default, so this should not affect testing.
+
+        This only impacts WebKit2.
+
+        * FeatureFlags/WebKit.plist:
+        * Shared/WebPreferencesDefaultValues.cpp:
+        (WebKit::defaultAsyncFrameAndOverflowScrollingEnabled):
+
 2020-04-17  Per Arne Vollan  <pvol...@apple.com>
 
         [iOS] Add telemetry to some mach lookup sandbox extensions

Modified: trunk/Source/WebKit/FeatureFlags/WebKit.plist (260275 => 260276)


--- trunk/Source/WebKit/FeatureFlags/WebKit.plist	2020-04-17 19:46:55 UTC (rev 260275)
+++ trunk/Source/WebKit/FeatureFlags/WebKit.plist	2020-04-17 20:04:59 UTC (rev 260276)
@@ -5,7 +5,7 @@
     <key>async_frame_and_overflow_scrolling</key>
     <dict>
         <key>Enabled</key>
-        <false/>
+        <true/>
     </dict>
     <key>canvas_and_media_in_gpu_process</key>
     <dict>

Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp (260275 => 260276)


--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp	2020-04-17 19:46:55 UTC (rev 260275)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp	2020-04-17 20:04:59 UTC (rev 260276)
@@ -88,6 +88,10 @@
     return os_feature_enabled(WebKit, async_frame_and_overflow_scrolling);
 #endif
 
+#if PLATFORM(MAC)
+    return true;
+#endif
+
     return false;
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to