Title: [289665] trunk/Source/WebKit
Revision
289665
Author
wenson_hs...@apple.com
Date
2022-02-11 13:09:02 -0800 (Fri, 11 Feb 2022)

Log Message

Unreviewed, fix the Apple TV build

Don't try to import `AVKitSPI.h` on Apple TV.

* UIProcess/ios/WKContentViewInteraction.mm:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (289664 => 289665)


--- trunk/Source/WebKit/ChangeLog	2022-02-11 21:00:43 UTC (rev 289664)
+++ trunk/Source/WebKit/ChangeLog	2022-02-11 21:09:02 UTC (rev 289665)
@@ -1,3 +1,11 @@
+2022-02-11  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        Unreviewed, fix the Apple TV build
+
+        Don't try to import `AVKitSPI.h` on Apple TV.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+
 2022-02-11  Chris Dumez  <cdu...@apple.com>
 
         Regression(r287684) Microsoft teams meeting URLs fail to open the app

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (289664 => 289665)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2022-02-11 21:00:43 UTC (rev 289664)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2022-02-11 21:09:02 UTC (rev 289665)
@@ -136,7 +136,6 @@
 #import <WebCore/WritingDirection.h>
 #import <WebKit/WebSelectionRect.h> // FIXME: WebKit should not include WebKitLegacy headers!
 #import <pal/spi/cg/CoreGraphicsSPI.h>
-#import <pal/spi/cocoa/AVKitSPI.h>
 #import <pal/spi/cocoa/DataDetectorsCoreSPI.h>
 #import <pal/spi/cocoa/LaunchServicesSPI.h>
 #import <pal/spi/cocoa/NSAttributedStringSPI.h>
@@ -178,6 +177,10 @@
 #import "PepperUICoreSPI.h"
 #endif
 
+#if HAVE(AVKIT)
+#import <pal/spi/cocoa/AVKitSPI.h>
+#endif
+
 #import <pal/cocoa/VisionKitCoreSoftLink.h>
 #import <pal/ios/ManagedConfigurationSoftLink.h>
 #import <pal/ios/QuickLookSoftLink.h>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to