Title: [187032] trunk/Source/WebCore
- Revision
- 187032
- Author
- ander...@apple.com
- Date
- 2015-07-20 13:45:42 -0700 (Mon, 20 Jul 2015)
Log Message
Add the necessary platform checks to iOS SPI headers
https://bugs.webkit.org/show_bug.cgi?id=147120
Reviewed by Tim Horton.
* platform/spi/ios/GraphicsServicesSPI.h:
* platform/spi/ios/MediaPlayerSPI.h:
* platform/spi/ios/MobileGestaltSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (187031 => 187032)
--- trunk/Source/WebCore/ChangeLog 2015-07-20 20:16:18 UTC (rev 187031)
+++ trunk/Source/WebCore/ChangeLog 2015-07-20 20:45:42 UTC (rev 187032)
@@ -1,3 +1,14 @@
+2015-07-20 Anders Carlsson <ander...@apple.com>
+
+ Add the necessary platform checks to iOS SPI headers
+ https://bugs.webkit.org/show_bug.cgi?id=147120
+
+ Reviewed by Tim Horton.
+
+ * platform/spi/ios/GraphicsServicesSPI.h:
+ * platform/spi/ios/MediaPlayerSPI.h:
+ * platform/spi/ios/MobileGestaltSPI.h:
+
2015-07-20 Andreas Kling <akl...@apple.com>
Improve behavior of media elements in page cache.
Modified: trunk/Source/WebCore/platform/spi/ios/GraphicsServicesSPI.h (187031 => 187032)
--- trunk/Source/WebCore/platform/spi/ios/GraphicsServicesSPI.h 2015-07-20 20:16:18 UTC (rev 187031)
+++ trunk/Source/WebCore/platform/spi/ios/GraphicsServicesSPI.h 2015-07-20 20:45:42 UTC (rev 187032)
@@ -26,6 +26,10 @@
#ifndef GraphicsServicesSPI_h
#define GraphicsServicesSPI_h
+#import <wtf/Platform.h>
+
+#if PLATFORM(IOS)
+
#if USE(APPLE_INTERNAL_SDK)
#import <GraphicsServices/GraphicsServices.h>
@@ -39,4 +43,6 @@
WTF_EXTERN_C_END
+#endif
+
#endif // GraphicsServicesSPI_h
Modified: trunk/Source/WebCore/platform/spi/ios/MediaPlayerSPI.h (187031 => 187032)
--- trunk/Source/WebCore/platform/spi/ios/MediaPlayerSPI.h 2015-07-20 20:16:18 UTC (rev 187031)
+++ trunk/Source/WebCore/platform/spi/ios/MediaPlayerSPI.h 2015-07-20 20:45:42 UTC (rev 187032)
@@ -23,6 +23,10 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
+#import <wtf/Platform.h>
+
+#if PLATFORM(IOS)
+
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@@ -72,3 +76,5 @@
@end
#endif
+
+#endif
Modified: trunk/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h (187031 => 187032)
--- trunk/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h 2015-07-20 20:16:18 UTC (rev 187031)
+++ trunk/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h 2015-07-20 20:45:42 UTC (rev 187032)
@@ -26,6 +26,10 @@
#ifndef MobileGestaltSPI_h
#define MobileGestaltSPI_h
+#import <wtf/Platform.h>
+
+#if PLATFORM(IOS)
+
#include <CoreFoundation/CoreFoundation.h>
#if USE(APPLE_INTERNAL_SDK)
@@ -46,4 +50,6 @@
EXTERN_C bool MGGetBoolAnswer(CFStringRef question);
#endif
+#endif
+
#endif // MobileGestaltSPI_h
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes