Don't include ApplicationServices in npapi.h
https://bugs.webkit.org/show_bug.cgi?id=202911

Reviewed by Sam Weinig.

* plugins/npapi.h:
Just include CoreGraphics.h, not ApplicationServices.h.
ApplicationServices.h pulls in all sorts of crazy things like
QuickDraw headers that have symbol conflicts with JSC (like Handle).


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@251063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 83baf29..d783f16 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2019-10-13  Tim Horton  <timothy_horton@apple.com>
+
+        Don't include ApplicationServices in npapi.h
+        https://bugs.webkit.org/show_bug.cgi?id=202911
+
+        Reviewed by Sam Weinig.
+
+        * plugins/npapi.h:
+        Just include CoreGraphics.h, not ApplicationServices.h.
+        ApplicationServices.h pulls in all sorts of crazy things like
+        QuickDraw headers that have symbol conflicts with JSC (like Handle).
+
 2019-10-13  Stephan Szabo  <stephan.szabo@sony.com>
 
         Wincairo build broken: EventLoop.h: No such file or directory
diff --git a/Source/WebCore/plugins/npapi.h b/Source/WebCore/plugins/npapi.h
index 86ce603..b33b4e9 100644
--- a/Source/WebCore/plugins/npapi.h
+++ b/Source/WebCore/plugins/npapi.h
@@ -76,7 +76,7 @@
 #endif
 
 #if defined(XP_MACOSX)
-#include <ApplicationServices/ApplicationServices.h>
+#include <CoreGraphics/CoreGraphics.h>
 #include <OpenGL/OpenGL.h>
 #ifndef NP_NO_CARBON
 #include <Carbon/Carbon.h>