Title: [172694] trunk/Source/WebKit/mac
Revision
172694
Author
m...@apple.com
Date
2014-08-16 15:52:58 -0700 (Sat, 16 Aug 2014)

Log Message

Remove the obsolete WebKitEnableCoalescedUpdatesPreferenceKey
https://bugs.webkit.org/show_bug.cgi?id=136024

Reviewed by Filip Pizlo.

* WebView/WebFrameView.mm:
(-[WebFrameView initWithFrame:]): Remove code that respects
this key. It was SPI and is no longer used; also it was
only relevant for versions of OS X that WebKit no longer supports.
* WebView/WebPreferenceKeysPrivate.h: Remove declaration.

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (172693 => 172694)


--- trunk/Source/WebKit/mac/ChangeLog	2014-08-16 20:32:53 UTC (rev 172693)
+++ trunk/Source/WebKit/mac/ChangeLog	2014-08-16 22:52:58 UTC (rev 172694)
@@ -1,3 +1,16 @@
+2014-08-16  Maciej Stachowiak  <m...@apple.com>
+
+        Remove the obsolete WebKitEnableCoalescedUpdatesPreferenceKey
+        https://bugs.webkit.org/show_bug.cgi?id=136024
+
+        Reviewed by Filip Pizlo.
+
+        * WebView/WebFrameView.mm:
+        (-[WebFrameView initWithFrame:]): Remove code that respects
+        this key. It was SPI and is no longer used; also it was
+        only relevant for versions of OS X that WebKit no longer supports.
+        * WebView/WebPreferenceKeysPrivate.h: Remove declaration.
+
 2014-08-15  Daniel Bates  <daba...@apple.com>
 
         [iOS] Teach postprocess-headers.sh to remove code guarded by ENABLE_IOS_GESTURE_EVENTS

Modified: trunk/Source/WebKit/mac/WebView/WebFrameView.mm (172693 => 172694)


--- trunk/Source/WebKit/mac/WebView/WebFrameView.mm	2014-08-16 20:32:53 UTC (rev 172693)
+++ trunk/Source/WebKit/mac/WebView/WebFrameView.mm	2014-08-16 22:52:58 UTC (rev 172694)
@@ -375,14 +375,6 @@
         WebCore::notifyHistoryItemChanged = WKNotifyHistoryItemChanged;
 
 #if !PLATFORM(IOS)
-// FIXME: Remove the NSAppKitVersionNumberWithDeferredWindowDisplaySupport check once
-// once AppKit's Deferred Window Display support is available.
-#if !defined(NSAppKitVersionNumberWithDeferredWindowDisplaySupport)
-        // CoreGraphics deferred updates are disabled if WebKitEnableCoalescedUpdatesPreferenceKey is NO
-        // or has no value. For compatibility with Mac OS X 10.5 and lower, deferred updates are off by default.
-        if (![[NSUserDefaults standardUserDefaults] boolForKey:WebKitEnableDeferredUpdatesPreferenceKey])
-            WKDisableCGDeferredUpdates();
-#endif
         if (!WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_MAIN_THREAD_EXCEPTIONS))
             setDefaultThreadViolationBehavior(LogOnFirstThreadViolation, ThreadViolationRoundOne);
 

Modified: trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h (172693 => 172694)


--- trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h	2014-08-16 20:32:53 UTC (rev 172693)
+++ trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h	2014-08-16 22:52:58 UTC (rev 172694)
@@ -166,11 +166,6 @@
 #define WebKitIncrementalRenderingSuppressionTimeoutInSecondsKey @"WebKitIncrementalRenderingSuppressionTimeoutInSeconds"
 #define WebKitWantsBalancedSetDefersLoadingBehaviorKey @"WebKitWantsBalancedSetDefersLoadingBehavior"
 
-// CoreGraphics deferred updates are disabled if WebKitEnableCoalescedUpdatesPreferenceKey is set
-// to NO, or has no value.  For compatibility with Mac OS X 10.4.6, deferred updates are OFF by
-// default.
-#define WebKitEnableDeferredUpdatesPreferenceKey @"WebKitEnableDeferredUpdates"
-
 #define WebKitDebugFullPageZoomPreferenceKey @"WebKitDebugFullPageZoomPreferenceKey"
 
 #define WebKitMinimumZoomFontSizePreferenceKey @"WebKitMinimumZoomFontSizePreferenceKey"
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to