Title: [244665] trunk/Source/WebCore
Revision
244665
Author
[email protected]
Date
2019-04-25 14:42:50 -0700 (Thu, 25 Apr 2019)

Log Message

Disable ContentChangeObserver on iOSMac.
https://bugs.webkit.org/show_bug.cgi?id=197292
rdar://problem/49039957

Reviewed by Zalan Bujtas.

We don’t need to run any of ContentChangeObserver, because we have hover events on iOSMac.
Disabling it skips the synthetic mouse move events and speeds up clicks.

* page/SettingsBase.cpp:
(WebCore::SettingsBase::defaultContentChangeObserverEnabled): Return false for PLATFORM(IOSMAC).

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (244664 => 244665)


--- trunk/Source/WebCore/ChangeLog	2019-04-25 21:38:34 UTC (rev 244664)
+++ trunk/Source/WebCore/ChangeLog	2019-04-25 21:42:50 UTC (rev 244665)
@@ -1,5 +1,19 @@
 2019-04-25  Timothy Hatcher  <[email protected]>
 
+        Disable ContentChangeObserver on iOSMac.
+        https://bugs.webkit.org/show_bug.cgi?id=197292
+        rdar://problem/49039957
+
+        Reviewed by Zalan Bujtas.
+
+        We don’t need to run any of ContentChangeObserver, because we have hover events on iOSMac.
+        Disabling it skips the synthetic mouse move events and speeds up clicks.
+
+        * page/SettingsBase.cpp:
+        (WebCore::SettingsBase::defaultContentChangeObserverEnabled): Return false for PLATFORM(IOSMAC).
+
+2019-04-25  Timothy Hatcher  <[email protected]>
+
         Disable date and time inputs on iOSMac.
         https://bugs.webkit.org/show_bug.cgi?id=197287
         rdar://problem/46794376

Modified: trunk/Source/WebCore/page/SettingsBase.cpp (244664 => 244665)


--- trunk/Source/WebCore/page/SettingsBase.cpp	2019-04-25 21:38:34 UTC (rev 244664)
+++ trunk/Source/WebCore/page/SettingsBase.cpp	2019-04-25 21:42:50 UTC (rev 244665)
@@ -109,7 +109,7 @@
 
 bool SettingsBase::defaultContentChangeObserverEnabled()
 {
-#if PLATFORM(IOS_FAMILY)
+#if PLATFORM(IOS_FAMILY) && !PLATFORM(IOSMAC)
     return true;
 #else
     return false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to