Title: [292726] trunk/Source/WebKit
Revision
292726
Author
akeer...@apple.com
Date
2022-04-11 14:45:28 -0700 (Mon, 11 Apr 2022)

Log Message

[iOS] Ignore find interaction deprecation warnings
https://bugs.webkit.org/show_bug.cgi?id=239084

Unreviewed, build fix.


* UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _setFindInteractionEnabled:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (292725 => 292726)


--- trunk/Source/WebKit/ChangeLog	2022-04-11 21:42:46 UTC (rev 292725)
+++ trunk/Source/WebKit/ChangeLog	2022-04-11 21:45:28 UTC (rev 292726)
@@ -1,3 +1,13 @@
+2022-04-11  Aditya Keerthi  <akeer...@apple.com>
+
+        [iOS] Ignore find interaction deprecation warnings
+        https://bugs.webkit.org/show_bug.cgi?id=239084
+
+        Unreviewed, build fix.
+
+        * UIProcess/API/ios/WKWebViewIOS.mm:
+        (-[WKWebView _setFindInteractionEnabled:]):
+
 2022-04-11  Jer Noble  <jer.no...@apple.com>
 
         REGRESSION(r292051-r292022): [ iOS ] media/video-object-fit.html is a constant image failure

Modified: trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm (292725 => 292726)


--- trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm	2022-04-11 21:42:46 UTC (rev 292725)
+++ trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm	2022-04-11 21:45:28 UTC (rev 292726)
@@ -3563,7 +3563,9 @@
 
         if (enabled) {
             if (!_findInteraction) {
+                ALLOW_DEPRECATED_DECLARATIONS_BEGIN
                 _findInteraction = adoptNS([[_UIFindInteraction alloc] init]);
+                ALLOW_DEPRECATED_DECLARATIONS_END
                 [_findInteraction setSearchableObject:[self _searchableObject]];
             }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to