Title: [272322] trunk/Source/WebKit
- Revision
- 272322
- Author
- [email protected]
- Date
- 2021-02-03 09:38:54 -0800 (Wed, 03 Feb 2021)
Log Message
Fix watch and tv build after r272228
https://bugs.webkit.org/show_bug.cgi?id=220683
UIEventAttribution is special in that the symbol is declared as unavailable on watchOS and tvOS.
To fix the build, we need to not use this symbol on those operating systems.
* UIProcess/API/Cocoa/WKWebViewPrivate.h:
* UIProcess/API/ios/WKWebViewIOS.mm:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (272321 => 272322)
--- trunk/Source/WebKit/ChangeLog 2021-02-03 17:36:30 UTC (rev 272321)
+++ trunk/Source/WebKit/ChangeLog 2021-02-03 17:38:54 UTC (rev 272322)
@@ -1,3 +1,14 @@
+2021-02-03 Alex Christensen <[email protected]>
+
+ Fix watch and tv build after r272228
+ https://bugs.webkit.org/show_bug.cgi?id=220683
+
+ UIEventAttribution is special in that the symbol is declared as unavailable on watchOS and tvOS.
+ To fix the build, we need to not use this symbol on those operating systems.
+
+ * UIProcess/API/Cocoa/WKWebViewPrivate.h:
+ * UIProcess/API/ios/WKWebViewIOS.mm:
+
2021-02-03 Antoine Quint <[email protected]>
Add a loader for <model> resources
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h (272321 => 272322)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h 2021-02-03 17:36:30 UTC (rev 272321)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h 2021-02-03 17:38:54 UTC (rev 272322)
@@ -393,7 +393,9 @@
@interface WKWebView (WKPrivateIOS)
+#if !TARGET_OS_TV && !TARGET_OS_WATCH
@property (nonatomic, copy, setter=_setUIEventAttribution:) UIEventAttribution *_uiEventAttribution WK_API_AVAILABLE(ios(WK_IOS_TBA));
+#endif
@property (nonatomic, readonly) CGRect _contentVisibleRect WK_API_AVAILABLE(ios(10.0));
Modified: trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm (272321 => 272322)
--- trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm 2021-02-03 17:36:30 UTC (rev 272321)
+++ trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm 2021-02-03 17:38:54 UTC (rev 272322)
@@ -2524,6 +2524,7 @@
@implementation WKWebView (WKPrivateIOS)
+#if !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
- (void)_setUIEventAttribution:(UIEventAttribution *)attribution
{
#if HAVE(UI_EVENT_ATTRIBUTION)
@@ -2554,6 +2555,7 @@
return nil;
#endif
}
+#endif // !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
- (CGRect)_contentVisibleRect
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes