Changeset 272322 in webkit
- Timestamp:
- Feb 3, 2021 9:38:54 AM (3 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r272313 r272322 1 2021-02-03 Alex Christensen <achristensen@webkit.org> 2 3 Fix watch and tv build after r272228 4 https://bugs.webkit.org/show_bug.cgi?id=220683 5 6 UIEventAttribution is special in that the symbol is declared as unavailable on watchOS and tvOS. 7 To fix the build, we need to not use this symbol on those operating systems. 8 9 * UIProcess/API/Cocoa/WKWebViewPrivate.h: 10 * UIProcess/API/ios/WKWebViewIOS.mm: 11 1 12 2021-02-03 Antoine Quint <graouts@webkit.org> 2 13 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
r272237 r272322 394 394 @interface WKWebView (WKPrivateIOS) 395 395 396 #if !TARGET_OS_TV && !TARGET_OS_WATCH 396 397 @property (nonatomic, copy, setter=_setUIEventAttribution:) UIEventAttribution *_uiEventAttribution WK_API_AVAILABLE(ios(WK_IOS_TBA)); 398 #endif 397 399 398 400 @property (nonatomic, readonly) CGRect _contentVisibleRect WK_API_AVAILABLE(ios(10.0)); -
trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
r272237 r272322 2525 2525 @implementation WKWebView (WKPrivateIOS) 2526 2526 2527 #if !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 2527 2528 - (void)_setUIEventAttribution:(UIEventAttribution *)attribution 2528 2529 { … … 2555 2556 #endif 2556 2557 } 2558 #endif // !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 2557 2559 2558 2560 - (CGRect)_contentVisibleRect
Note: See TracChangeset
for help on using the changeset viewer.