Title: [182519] trunk/Source/WebCore
Revision
182519
Author
[email protected]
Date
2015-04-07 22:44:28 -0700 (Tue, 07 Apr 2015)

Log Message

Unreviewed, speculative iOS build fix after r182516.

Add #if PLATFORM(MAC) checks.

* platform/spi/cg/CoreGraphicsSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (182518 => 182519)


--- trunk/Source/WebCore/ChangeLog	2015-04-08 05:31:56 UTC (rev 182518)
+++ trunk/Source/WebCore/ChangeLog	2015-04-08 05:44:28 UTC (rev 182519)
@@ -1,3 +1,11 @@
+2015-04-07  Chris Dumez  <[email protected]>
+
+        Unreviewed, speculative iOS build fix after r182516.
+
+        Add #if PLATFORM(MAC) checks.
+
+        * platform/spi/cg/CoreGraphicsSPI.h:
+
 2015-04-07  Simon Fraser  <[email protected]>
 
         Try to fix incremental builds by forcing *InternalSettings* to get

Modified: trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h (182518 => 182519)


--- trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h	2015-04-08 05:31:56 UTC (rev 182518)
+++ trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h	2015-04-08 05:44:28 UTC (rev 182519)
@@ -79,7 +79,7 @@
 enum {
     kCGFontAntialiasingStyleUnfiltered = 0 << 7,
     kCGFontAntialiasingStyleFilterLight = 1 << 7,
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
     kCGFontAntialiasingStyleUnfilteredCustomDilation = (8 << 7),
 #endif
 };
@@ -129,7 +129,7 @@
 void CGContextSetCTM(CGContextRef, CGAffineTransform);
 void CGContextSetCompositeOperation(CGContextRef, CGCompositeOperation);
 void CGContextSetShouldAntialiasFonts(CGContextRef, bool shouldAntialiasFonts);
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
 void CGContextSetFontDilation(CGContextRef, CGSize);
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to