Title: [286833] trunk/Source/WebKit
Revision
286833
Author
[email protected]
Date
2021-12-09 22:24:31 -0800 (Thu, 09 Dec 2021)

Log Message

Fix the tvOS and watchOS builds after r286641
https://bugs.webkit.org/show_bug.cgi?id=234124

Unreviewed build fix.


* UIProcess/API/Cocoa/WKWebViewPrivate.h:

WKWebView does not conform to the protocol on watchOS/tvOS.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (286832 => 286833)


--- trunk/Source/WebKit/ChangeLog	2021-12-10 05:42:28 UTC (rev 286832)
+++ trunk/Source/WebKit/ChangeLog	2021-12-10 06:24:31 UTC (rev 286833)
@@ -1,3 +1,14 @@
+2021-12-09  Aditya Keerthi  <[email protected]>
+
+        Fix the tvOS and watchOS builds after r286641
+        https://bugs.webkit.org/show_bug.cgi?id=234124
+
+        Unreviewed build fix.
+
+        * UIProcess/API/Cocoa/WKWebViewPrivate.h:
+
+        WKWebView does not conform to the protocol on watchOS/tvOS.
+
 2021-12-09  Ryan Haddad  <[email protected]>
 
         Add ability to inject messages into webpushd

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h (286832 => 286833)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h	2021-12-10 05:42:28 UTC (rev 286832)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h	2021-12-10 06:24:31 UTC (rev 286833)
@@ -431,7 +431,7 @@
 
 #if TARGET_OS_IPHONE
 
-#if __has_include(<UIKit/_UITextSearching.h>)
+#if !TARGET_OS_TV && !TARGET_OS_WATCH && __has_include(<UIKit/_UITextSearching.h>)
 @interface WKWebView (WKPrivateIOS) <_UITextSearching>
 #else
 @interface WKWebView (WKPrivateIOS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to