Title: [213022] trunk/Source/WebKit2
Revision
213022
Author
[email protected]
Date
2017-02-26 20:31:03 -0800 (Sun, 26 Feb 2017)

Log Message

Add preprocessor guards to Mac specific files that are exposed as private headers on iOS
https://bugs.webkit.org/show_bug.cgi?id=168878

Reviewed by Dan Bernstein.

* UIProcess/API/C/WKInspector.h:
* WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (213021 => 213022)


--- trunk/Source/WebKit2/ChangeLog	2017-02-27 00:54:03 UTC (rev 213021)
+++ trunk/Source/WebKit2/ChangeLog	2017-02-27 04:31:03 UTC (rev 213022)
@@ -1,5 +1,15 @@
 2017-02-26  Alexey Proskuryakov  <[email protected]>
 
+        Add preprocessor guards to Mac specific files that are exposed as private headers on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=168878
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/API/C/WKInspector.h:
+        * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.h:
+
+2017-02-26  Alexey Proskuryakov  <[email protected]>
+
         Remove spurious C++ include from _WKTestingDelegate.h
         https://bugs.webkit.org/show_bug.cgi?id=168877
 

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKInspector.h (213021 => 213022)


--- trunk/Source/WebKit2/UIProcess/API/C/WKInspector.h	2017-02-27 00:54:03 UTC (rev 213021)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKInspector.h	2017-02-27 04:31:03 UTC (rev 213022)
@@ -28,6 +28,8 @@
 
 #include <WebKit/WKBase.h>
 
+#if !TARGET_OS_IPHONE
+
 #ifndef __cplusplus
 #include <stdbool.h>
 #endif
@@ -68,4 +70,6 @@
 }
 #endif
 
+#endif // !TARGET_OS_IPHONE
+
 #endif // WKInspector_h

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.h (213021 => 213022)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.h	2017-02-27 00:54:03 UTC (rev 213021)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.h	2017-02-27 04:31:03 UTC (rev 213022)
@@ -27,6 +27,9 @@
 #define WKBundlePageBannerMac_h
 
 #include <WebKit/WKBase.h>
+
+#if !TARGET_OS_IPHONE
+
 #include <WebKit/WKBundlePageBanner.h>
 
 @class CALayer;
@@ -43,5 +46,6 @@
 }
 #endif
 
+#endif // !TARGET_OS_IPHONE
 
 #endif /* WKBundlePageBannerMac_h */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to