Title: [247635] trunk/Source/WebKit
Revision
247635
Author
[email protected]
Date
2019-07-18 20:08:28 -0700 (Thu, 18 Jul 2019)

Log Message

Fix warning when importing WebKit in Swift
https://bugs.webkit.org/show_bug.cgi?id=199914
<rdar://problem/52854930>

Patch by Alex Christensen <[email protected]> on 2019-07-18
Reviewed by Wenson Hsieh.

* UIProcess/API/Cocoa/NSAttributedString.h:
Declare NSAttributedString and update a swift name.
This fix was proposed by Argyrios Kyrtzidis.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247634 => 247635)


--- trunk/Source/WebKit/ChangeLog	2019-07-19 01:40:06 UTC (rev 247634)
+++ trunk/Source/WebKit/ChangeLog	2019-07-19 03:08:28 UTC (rev 247635)
@@ -1,5 +1,17 @@
 2019-07-18  Alex Christensen  <[email protected]>
 
+        Fix warning when importing WebKit in Swift
+        https://bugs.webkit.org/show_bug.cgi?id=199914
+        <rdar://problem/52854930>
+
+        Reviewed by Wenson Hsieh.
+
+        * UIProcess/API/Cocoa/NSAttributedString.h:
+        Declare NSAttributedString and update a swift name.
+        This fix was proposed by Argyrios Kyrtzidis.
+
+2019-07-18  Alex Christensen  <[email protected]>
+
         Add and test _WKWebsiteDataStoreConfiguration.deviceIdHashSaltsStorageDirectory SPI
         https://bugs.webkit.org/show_bug.cgi?id=199923
 

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/NSAttributedString.h (247634 => 247635)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/NSAttributedString.h	2019-07-19 01:40:06 UTC (rev 247634)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/NSAttributedString.h	2019-07-19 03:08:28 UTC (rev 247635)
@@ -32,6 +32,8 @@
 #import <AppKit/NSAttributedString.h>
 #endif
 
+@class NSAttributedString;
+
 NS_ASSUME_NONNULL_BEGIN
 
 /*!
@@ -41,7 +43,7 @@
  directory may be loaded by WebKit.
 */
 WK_EXTERN NSAttributedStringDocumentReadingOptionKey const NSReadAccessURLDocumentOption
-    NS_SWIFT_NAME(NSAttributedStringDocumentReadingOptionKey.readAccessURL) WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
+    NS_SWIFT_NAME(readAccessURL) WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
 
 /*!
  @abstract Type definition for the completion handler block used to get asynchronous attributed strings.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to