Include MobileCoreServices in the WebCore prefix header
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Mar 2018 02:19:33 +0000 (02:19 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Mar 2018 02:19:33 +0000 (02:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183688
<rdar://problem/38527621>

Reviewed by Dan Bernstein.

* WebCorePrefix.h:

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

Source/WebCore/ChangeLog
Source/WebCore/WebCorePrefix.h

index 8e53c36..fb50568 100644 (file)
@@ -1,3 +1,13 @@
+2018-03-15  Tim Horton  <timothy_horton@apple.com>
+
+        Include MobileCoreServices in the WebCore prefix header
+        https://bugs.webkit.org/show_bug.cgi?id=183688
+        <rdar://problem/38527621>
+
+        Reviewed by Dan Bernstein.
+
+        * WebCorePrefix.h:
+
 2018-03-15  Megan Gardner  <megan_gardner@apple.com>
 
         Create MediaQueryParserContext to provide additional context for the evaluation of media queries
index c0650a1..5b78756 100644 (file)
 #endif
 
 #include <windows.h>
-#else
-#if !PLATFORM(IOS)
-#include <CoreServices/CoreServices.h>
-#endif // !PLATFORM(IOS)
 #endif // OS(WINDOWS)
 
+#if PLATFORM(IOS)
+#include <MobileCoreServices/MobileCoreServices.h>
+#endif
+
+#if PLATFORM(MAC)
+#include <CoreServices/CoreServices.h>
+#endif
+
 #endif
 
 #ifdef __OBJC__