Title: [247308] trunk/Source/WebKit
Revision
247308
Author
[email protected]
Date
2019-07-10 10:17:16 -0700 (Wed, 10 Jul 2019)

Log Message

Fix build after Foundation changes UIEdgeInsets definition
https://bugs.webkit.org/show_bug.cgi?id=199660
<rdar://problem/52390453>

Patch by Alex Christensen <[email protected]> on 2019-07-10
Reviewed by Tim Horton.

* UIProcess/API/Cocoa/WKUIDelegatePrivate.h:
* UIProcess/Cocoa/WKWebViewContentProvider.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247307 => 247308)


--- trunk/Source/WebKit/ChangeLog	2019-07-10 17:09:05 UTC (rev 247307)
+++ trunk/Source/WebKit/ChangeLog	2019-07-10 17:17:16 UTC (rev 247308)
@@ -1,3 +1,14 @@
+2019-07-10  Alex Christensen  <[email protected]>
+
+        Fix build after Foundation changes UIEdgeInsets definition
+        https://bugs.webkit.org/show_bug.cgi?id=199660
+        <rdar://problem/52390453>
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/Cocoa/WKUIDelegatePrivate.h:
+        * UIProcess/Cocoa/WKWebViewContentProvider.h:
+
 2019-07-10  Antti Koivisto  <[email protected]>
 
         Remove TouchActionData

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h (247307 => 247308)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h	2019-07-10 17:09:05 UTC (rev 247307)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h	2019-07-10 17:17:16 UTC (rev 247308)
@@ -81,7 +81,11 @@
 
 @protocol WKUIDelegatePrivate <WKUIDelegate>
 
+#ifdef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+typedef NSEdgeInsets UIEdgeInsets;
+#else
 struct UIEdgeInsets;
+#endif
 
 @optional
 

Modified: trunk/Source/WebKit/UIProcess/Cocoa/WKWebViewContentProvider.h (247307 => 247308)


--- trunk/Source/WebKit/UIProcess/Cocoa/WKWebViewContentProvider.h	2019-07-10 17:09:05 UTC (rev 247307)
+++ trunk/Source/WebKit/UIProcess/Cocoa/WKWebViewContentProvider.h	2019-07-10 17:17:16 UTC (rev 247308)
@@ -37,7 +37,12 @@
 @class WKWebView;
 @protocol NSObject;
 struct CGSize;
+
+#ifdef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+typedef NSEdgeInsets UIEdgeInsets;
+#else
 struct UIEdgeInsets;
+#endif
 
 @protocol WKWebViewContentProvider <NSObject>
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to