[macCatalyst] Do not include WebKitLegacy.h in WebKit.h
https://bugs.webkit.org/show_bug.cgi?id=199833
<rdar://problem/53036744>

Reviewed by Tim Horton.

* Shared/API/Cocoa/WebKit.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@247494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog
index c13c890..e30ab1b 100644
--- a/Source/WebKit/ChangeLog
+++ b/Source/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2019-07-16  Andy Estes  <aestes@apple.com>
+
+        [macCatalyst] Do not include WebKitLegacy.h in WebKit.h
+        https://bugs.webkit.org/show_bug.cgi?id=199833
+        <rdar://problem/53036744>
+
+        Reviewed by Tim Horton.
+
+        * Shared/API/Cocoa/WebKit.h:
+
 2019-07-16  Frederic Wang  <fwang@igalia.com>
 
         Fix build warning because of missing super_class initializer
diff --git a/Source/WebKit/Shared/API/Cocoa/WebKit.h b/Source/WebKit/Shared/API/Cocoa/WebKit.h
index a1f7b0d..4db433b 100644
--- a/Source/WebKit/Shared/API/Cocoa/WebKit.h
+++ b/Source/WebKit/Shared/API/Cocoa/WebKit.h
@@ -58,4 +58,7 @@
 #import <WebKit/WKWebsiteDataRecord.h>
 #import <WebKit/WKWebsiteDataStore.h>
 #import <WebKit/WKWindowFeatures.h>
+
+#if !defined(TARGET_OS_IOSMAC) || !TARGET_OS_IOSMAC
 #import <WebKit/WebKitLegacy.h>
+#endif