⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 244665 in webkit


Ignore:
Timestamp:
Apr 25, 2019, 2:42:50 PM (7 years ago)
Author:
timothy@apple.com
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).

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r244664 r244665  
     12019-04-25  Timothy Hatcher  <timothy@apple.com>
     2
     3        Disable ContentChangeObserver on iOSMac.
     4        https://bugs.webkit.org/show_bug.cgi?id=197292
     5        rdar://problem/49039957
     6
     7        Reviewed by Zalan Bujtas.
     8
     9        We don’t need to run any of ContentChangeObserver, because we have hover events on iOSMac.
     10        Disabling it skips the synthetic mouse move events and speeds up clicks.
     11
     12        * page/SettingsBase.cpp:
     13        (WebCore::SettingsBase::defaultContentChangeObserverEnabled): Return false for PLATFORM(IOSMAC).
     14
    1152019-04-25  Timothy Hatcher  <timothy@apple.com>
    216
  • trunk/Source/WebCore/page/SettingsBase.cpp

    r242621 r244665  
    110110bool SettingsBase::defaultContentChangeObserverEnabled()
    111111{
    112 #if PLATFORM(IOS_FAMILY)
     112#if PLATFORM(IOS_FAMILY) && !PLATFORM(IOSMAC)
    113113    return true;
    114114#else
Note: See TracChangeset for help on using the changeset viewer.