Headers that use WEBCORE_EXPORT should include PlatformExportMacros.h
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Feb 2016 05:36:48 +0000 (05:36 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Feb 2016 05:36:48 +0000 (05:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=146984

Reviewed by Alexey Proskuryakov.

* Modules/speech/SpeechSynthesis.h:
* contentextensions/ContentExtensionError.h:
* dom/DeviceOrientationClient.h:
* platform/graphics/Color.h:
* platform/ios/wak/WebCoreThread.h:
* platform/network/CacheValidation.h:
* platform/network/cf/CertificateInfo.h:

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

Source/WebCore/ChangeLog
Source/WebCore/Modules/speech/SpeechSynthesis.h
Source/WebCore/contentextensions/ContentExtensionError.h
Source/WebCore/dom/DeviceOrientationClient.h
Source/WebCore/platform/graphics/Color.h
Source/WebCore/platform/ios/wak/WebCoreThread.h
Source/WebCore/platform/network/CacheValidation.h
Source/WebCore/platform/network/cf/CertificateInfo.h

index ca9d232..73d72b0 100644 (file)
@@ -1,3 +1,18 @@
+2016-02-09  Aakash Jain  <aakash_jain@apple.com>
+
+        Headers that use WEBCORE_EXPORT should include PlatformExportMacros.h
+        https://bugs.webkit.org/show_bug.cgi?id=146984
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Modules/speech/SpeechSynthesis.h:
+        * contentextensions/ContentExtensionError.h:
+        * dom/DeviceOrientationClient.h:
+        * platform/graphics/Color.h:
+        * platform/ios/wak/WebCoreThread.h:
+        * platform/network/CacheValidation.h:
+        * platform/network/cf/CertificateInfo.h:
+
 2016-02-09  Nan Wang  <n_wang@apple.com>
 
         AX: Implement word related text marker functions using TextIterator
index 3220330..0b718ce 100644 (file)
@@ -28,6 +28,7 @@
 
 #if ENABLE(SPEECH_SYNTHESIS)
 
+#include "PlatformExportMacros.h"
 #include "PlatformSpeechSynthesisUtterance.h"
 #include "PlatformSpeechSynthesizer.h"
 #include "SpeechSynthesisUtterance.h"
index 833c99e..0eb9a25 100644 (file)
@@ -28,6 +28,7 @@
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
+#include "PlatformExportMacros.h"
 #include <system_error>
 
 namespace WebCore {
index d6fbf7e..684603a 100644 (file)
@@ -28,6 +28,7 @@
 #define DeviceOrientationClient_h
 
 #include "DeviceClient.h"
+#include "PlatformExportMacros.h"
 #include <wtf/Noncopyable.h>
 
 namespace WebCore {
index cf2f80b..d18ebea 100644 (file)
@@ -27,6 +27,7 @@
 #define Color_h
 
 #include "ColorSpace.h"
+#include "PlatformExportMacros.h"
 #include <algorithm>
 #include <cmath>
 #include <unicode/uchar.h>
index 67aaa28..bb17ee6 100644 (file)
 
 #import <CoreGraphics/CoreGraphics.h>
 
+// Use __has_include here so that things work when rewritten into WebKitLegacy headers.
+#if __has_include(<WebCore/PlatformExportMacros.h>)
+#import <WebCore/PlatformExportMacros.h>
+#endif
+
 #if defined(__cplusplus)
 extern "C" {
 #endif    
index 45f4d3d..7bbb8b0 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef CacheValidation_h
 #define CacheValidation_h
 
+#include "PlatformExportMacros.h"
 #include <wtf/Optional.h>
 
 namespace WebCore {
index f72d8d5..6d6d89b 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef CertificateInfo_h
 #define CertificateInfo_h
 
+#include "PlatformExportMacros.h"
 #include <wtf/RetainPtr.h>
 
 namespace WebCore {