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

Changeset 242756 in webkit


Ignore:
Timestamp:
Mar 11, 2019, 4:36:14 PM (7 years ago)
Author:
pvollan@apple.com
Message:

Unreviewed build fix after r242745.

  • UIProcess/Cocoa/WebProcessPoolCocoa.mm:

(WebKit::WebProcessPool::registerNotificationObservers):
(WebKit::WebProcessPool::unregisterNotificationObservers):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r242755 r242756  
     12019-03-11  Per Arne Vollan  <pvollan@apple.com>
     2
     3        Unreviewed build fix after r242745.
     4
     5        * UIProcess/Cocoa/WebProcessPoolCocoa.mm:
     6        (WebKit::WebProcessPool::registerNotificationObservers):
     7        (WebKit::WebProcessPool::unregisterNotificationObservers):
     8
    192019-03-11  Chris Dumez  <cdumez@apple.com>
    210
  • trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm

    r242745 r242756  
    7878#endif
    7979
    80 #if PLATFORM(IOS_FAMILY)
     80#if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
    8181SOFT_LINK_PRIVATE_FRAMEWORK(BackBoardServices)
    8282SOFT_LINK(BackBoardServices, BKSDisplayBrightnessGetCurrent, float, (), ());
     
    387387}
    388388
    389 #if PLATFORM(IOS_FAMILY)
     389#if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
    390390float WebProcessPool::displayBrightness()
    391391{
     
    402402void WebProcessPool::registerNotificationObservers()
    403403{
    404 #if PLATFORM(IOS_FAMILY)
     404#if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
    405405    CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), this, backlightLevelDidChangeCallback, (CFStringRef)UIBacklightLevelChangedNotification, nullptr, CFNotificationSuspensionBehaviorCoalesce);
    406406#else
     
    454454void WebProcessPool::unregisterNotificationObservers()
    455455{
    456 #if PLATFORM(IOS_FAMILY)
     456#if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
    457457    CFNotificationCenterRemoveObserver(CFNotificationCenterGetDarwinNotifyCenter(), this, (CFStringRef)UIBacklightLevelChangedNotification, nullptr);
    458458#else
Note: See TracChangeset for help on using the changeset viewer.