Title: [290275] trunk/Source/WebKit
Revision
290275
Author
akeer...@apple.com
Date
2022-02-21 16:22:50 -0800 (Mon, 21 Feb 2022)

Log Message

[iOS] Fix the internal build after rdar://88354008
https://bugs.webkit.org/show_bug.cgi?id=236999

Unreviewed build fix.

Mark deprecated implementations.


* UIProcess/API/ios/WKWebViewIOS.mm:
* UIProcess/ios/WKContentViewInteraction.mm:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (290274 => 290275)


--- trunk/Source/WebKit/ChangeLog	2022-02-22 00:05:45 UTC (rev 290274)
+++ trunk/Source/WebKit/ChangeLog	2022-02-22 00:22:50 UTC (rev 290275)
@@ -1 +1,13 @@
+2022-02-21  Aditya Keerthi  <akeer...@apple.com>
+
+        [iOS] Fix the internal build after rdar://88354008
+        https://bugs.webkit.org/show_bug.cgi?id=236999
+
+        Unreviewed build fix.
+
+        Mark deprecated implementations.
+
+        * UIProcess/API/ios/WKWebViewIOS.mm:
+        * UIProcess/ios/WKContentViewInteraction.mm:
+
 == Rolled over to ChangeLog-2022-02-22 ==

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


--- trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm	2022-02-22 00:05:45 UTC (rev 290274)
+++ trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm	2022-02-22 00:22:50 UTC (rev 290275)
@@ -3558,10 +3558,12 @@
     return nil;
 }
 
+ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN
 - (NSInteger)offsetFromPosition:(UITextPosition *)from toPosition:(UITextPosition *)toPosition inDocument:(_UITextSearchDocumentIdentifier)document
 {
     return [_contentView offsetFromPosition:from toPosition:toPosition inDocument:document];
 }
+ALLOW_DEPRECATED_IMPLEMENTATIONS_END
 
 - (void)performTextSearchWithQueryString:(NSString *)string usingOptions:(_UITextSearchOptions *)options resultAggregator:(id<_UITextSearchAggregator>)aggregator
 {

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (290274 => 290275)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2022-02-22 00:05:45 UTC (rev 290274)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2022-02-22 00:22:50 UTC (rev 290275)
@@ -10413,10 +10413,12 @@
     _page->didEndTextSearchOperation();
 }
 
+ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN
 - (NSInteger)offsetFromPosition:(UITextPosition *)from toPosition:(UITextPosition *)toPosition inDocument:(_UITextSearchDocumentIdentifier)document
 {
     return [self offsetFromPosition:from toPosition:toPosition];
 }
+ALLOW_DEPRECATED_IMPLEMENTATIONS_END
 
 - (void)requestRectForFoundTextRange:(UITextRange *)range completionHandler:(void (^)(CGRect))completionHandler
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to