Skip to content

Commit

Permalink
Unreviewed, fix the visionOS build
Browse files Browse the repository at this point in the history
Declare conformance to `UITextSelectionDisplayInteractionDelegate` outside of the
`ENABLE(IMAGE_ANALYSIS)` build-time guard.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:

Canonical link: https://commits.webkit.org/270271@main
  • Loading branch information
whsieh committed Nov 6, 2023
1 parent f93d710 commit f1b0100
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,6 @@ @interface WKContentView (ImageAnalysisPreview) <QLPreviewControllerDelegate, QL

#endif // USE(QUICK_LOOK)

#if HAVE(UI_TEXT_SELECTION_DISPLAY_INTERACTION)

@interface WKContentView (UITextSelectionDisplayInteraction) <UITextSelectionDisplayInteractionDelegate>
@end

#endif

#endif // ENABLE(IMAGE_ANALYSIS)

#if ENABLE(IMAGE_ANALYSIS_ENHANCEMENTS)
Expand All @@ -309,6 +302,13 @@ - (void)setImageAnalysis:(CocoaImageAnalysis *)analysis;

#endif // ENABLE(IMAGE_ANALYSIS)

#if HAVE(UI_TEXT_SELECTION_DISPLAY_INTERACTION)

@interface WKContentView (UITextSelectionDisplayInteraction) <UITextSelectionDisplayInteractionDelegate>
@end

#endif

namespace WebKit {
using namespace WebCore;

Expand Down

0 comments on commit f1b0100

Please sign in to comment.