Fix _getContentsAsAttributedStringWithCompletionHandler availability for iOS.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 16:47:55 +0000 (16:47 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 16:47:55 +0000 (16:47 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195999

Patch by Olivier Robin <olivierrobin@chromium.org> on 2019-03-20
Reviewed by Tim Horton.

* UIProcess/API/Cocoa/WKWebViewPrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243212 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h

index 43609fe..bda96f4 100644 (file)
@@ -1,3 +1,12 @@
+2019-03-20  Olivier Robin  <olivierrobin@chromium.org>
+
+        Fix _getContentsAsAttributedStringWithCompletionHandler availability for iOS.
+        https://bugs.webkit.org/show_bug.cgi?id=195999
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/Cocoa/WKWebViewPrivate.h:
+
 2019-03-20  Brent Fulgham  <bfulgham@apple.com>
 
         Adopt RegistrableDomain in the Storage Access API prompt code paths
index 36df5a5..73f7281 100644 (file)
@@ -364,7 +364,7 @@ typedef NS_OPTIONS(NSUInteger, _WKRectEdge) {
 - (void)_getMainResourceDataWithCompletionHandler:(void (^)(NSData *, NSError *))completionHandler;
 - (void)_getWebArchiveDataWithCompletionHandler:(void (^)(NSData *, NSError *))completionHandler;
 - (void)_getContentsAsStringWithCompletionHandler:(void (^)(NSString *, NSError *))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0));
-- (void)_getContentsAsAttributedStringWithCompletionHandler:(void (^)(NSAttributedString *, NSDictionary<NSAttributedStringDocumentAttributeKey, id> *, NSError *))completionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_MAC_TBA));
+- (void)_getContentsAsAttributedStringWithCompletionHandler:(void (^)(NSAttributedString *, NSDictionary<NSAttributedStringDocumentAttributeKey, id> *, NSError *))completionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA));
 
 - (void)_getApplicationManifestWithCompletionHandler:(void (^)(_WKApplicationManifest *))completionHandler WK_API_AVAILABLE(macosx(10.13.4), ios(11.3));