Attempt to fix the Apple Internal build following r241828
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Feb 2019 21:38:40 +0000 (21:38 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Feb 2019 21:38:40 +0000 (21:38 +0000)
(https://trac.webkit.org/changeset/241828/webkit)

Conditionally include a private header.

* pal/spi/ios/UIKitSPI.h:

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

Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h

index 5e199af..bac77ab 100644 (file)
@@ -1,5 +1,14 @@
 2019-02-20  Daniel Bates  <dabates@apple.com>
 
+        Attempt to fix the Apple Internal build following r241828
+        (https://trac.webkit.org/changeset/241828/webkit)
+
+        Conditionally include a private header.
+
+        * pal/spi/ios/UIKitSPI.h:
+
+2019-02-20  Daniel Bates  <dabates@apple.com>
+
         [iOS] Tweak UI for focus rings
         https://bugs.webkit.org/show_bug.cgi?id=194864
         <rdar://problem/47831886>
index 5e1e0b7..12f351a 100644 (file)
@@ -37,7 +37,6 @@ WTF_EXTERN_C_END
 #import <UIKit/UIApplicationSceneConstants.h>
 #import <UIKit/UIApplication_Private.h>
 #import <UIKit/UIColor_Private.h>
-#import <UIKit/UIFocusRingStyle.h>
 #import <UIKit/UIFont_Private.h>
 #import <UIKit/UIInterface_Private.h>
 #import <UIKit/UIScreen_Private.h>
@@ -55,6 +54,10 @@ WTF_EXTERN_C_END
 - (CGFloat)_iOSMacScale;
 @end
 
+#if __has_include(<UIKit/UIFocusRingStyle.h>)
+#import <UIKit/UIFocusRingStyle.h>
+#endif
+
 #else // USE(APPLE_INTERNAL_SDK)
 
 #import <UIKit/UIKit.h>