Title: [206584] trunk/Source/WebCore
Revision
206584
Author
pvol...@apple.com
Date
2016-09-29 08:47:00 -0700 (Thu, 29 Sep 2016)

Log Message

[Win] Compile fix.
https://bugs.webkit.org/show_bug.cgi?id=162262

Reviewed by Anders Carlsson.

If CoreText.h is included, we will get redefinition compile errors on some older SDK
versions.

* platform/spi/win/CoreTextSPIWin.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (206583 => 206584)


--- trunk/Source/WebCore/ChangeLog	2016-09-29 15:30:33 UTC (rev 206583)
+++ trunk/Source/WebCore/ChangeLog	2016-09-29 15:47:00 UTC (rev 206584)
@@ -1,3 +1,15 @@
+2016-09-29  Per Arne Vollan  <pvol...@apple.com>
+
+        [Win] Compile fix.
+        https://bugs.webkit.org/show_bug.cgi?id=162262
+
+        Reviewed by Anders Carlsson.
+
+        If CoreText.h is included, we will get redefinition compile errors on some older SDK
+        versions. 
+
+        * platform/spi/win/CoreTextSPIWin.h:
+
 2016-09-29  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [SOUP] Remove WebCoreSynchronousLoader from ResourceHandleSoup

Modified: trunk/Source/WebCore/platform/spi/win/CoreTextSPIWin.h (206583 => 206584)


--- trunk/Source/WebCore/platform/spi/win/CoreTextSPIWin.h	2016-09-29 15:30:33 UTC (rev 206583)
+++ trunk/Source/WebCore/platform/spi/win/CoreTextSPIWin.h	2016-09-29 15:47:00 UTC (rev 206584)
@@ -27,7 +27,8 @@
 
 #include <CoreFoundation/CoreFoundation.h>
 #include <CoreGraphics/CoreGraphics.h>
-#include <CoreText/CoreText.h>
+#include <CoreText/CTDefines.h>
+#include <CoreText/CTFontDescriptor.h>
 
 WTF_EXTERN_C_BEGIN
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to