Changeset 242756 in webkit
- Timestamp:
- Mar 11, 2019, 4:36:14 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Cocoa/WebProcessPoolCocoa.mm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r242755 r242756 1 2019-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 1 9 2019-03-11 Chris Dumez <cdumez@apple.com> 2 10 -
trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r242745 r242756 78 78 #endif 79 79 80 #if PLATFORM(IOS_FAMILY) 80 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 81 81 SOFT_LINK_PRIVATE_FRAMEWORK(BackBoardServices) 82 82 SOFT_LINK(BackBoardServices, BKSDisplayBrightnessGetCurrent, float, (), ()); … … 387 387 } 388 388 389 #if PLATFORM(IOS_FAMILY) 389 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 390 390 float WebProcessPool::displayBrightness() 391 391 { … … 402 402 void WebProcessPool::registerNotificationObservers() 403 403 { 404 #if PLATFORM(IOS_FAMILY) 404 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 405 405 CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), this, backlightLevelDidChangeCallback, (CFStringRef)UIBacklightLevelChangedNotification, nullptr, CFNotificationSuspensionBehaviorCoalesce); 406 406 #else … … 454 454 void WebProcessPool::unregisterNotificationObservers() 455 455 { 456 #if PLATFORM(IOS_FAMILY) 456 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 457 457 CFNotificationCenterRemoveObserver(CFNotificationCenterGetDarwinNotifyCenter(), this, (CFStringRef)UIBacklightLevelChangedNotification, nullptr); 458 458 #else
Note:
See TracChangeset
for help on using the changeset viewer.