Title: [175975] trunk/Source/WebCore
Revision
175975
Author
[email protected]
Date
2014-11-11 14:02:16 -0800 (Tue, 11 Nov 2014)

Log Message

Unreviewd iOS build fix

* platform/spi/cocoa/CoreTextSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (175974 => 175975)


--- trunk/Source/WebCore/ChangeLog	2014-11-11 21:56:21 UTC (rev 175974)
+++ trunk/Source/WebCore/ChangeLog	2014-11-11 22:02:16 UTC (rev 175975)
@@ -1,3 +1,9 @@
+2014-11-11  Myles C. Maxfield  <[email protected]>
+
+        Unreviewd iOS build fix
+
+        * platform/spi/cocoa/CoreTextSPI.h:
+
 2014-11-11  David Kilzer  <[email protected]>
 
         Protect Document in ProcessingInstruction::setXSLStyleSheet()

Modified: trunk/Source/WebCore/platform/spi/cocoa/CoreTextSPI.h (175974 => 175975)


--- trunk/Source/WebCore/platform/spi/cocoa/CoreTextSPI.h	2014-11-11 21:56:21 UTC (rev 175974)
+++ trunk/Source/WebCore/platform/spi/cocoa/CoreTextSPI.h	2014-11-11 22:02:16 UTC (rev 175975)
@@ -38,19 +38,21 @@
 typedef const UniChar* (*CTUniCharProviderCallback)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void* refCon);
 typedef void (*CTUniCharDisposeCallback)(const UniChar* chars, void* refCon);
 
-#if !USE(APPLE_INTERNAL_SDK) || __MAC_OS_X_VERSION_MIN_REQUIRED < 1090
+#if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 1080)
+#if !USE(APPLE_INTERNAL_SDK)
 typedef CF_OPTIONS(uint32_t, CTFontTransformOptions)
 {
     kCTFontTransformApplyShaping = (1 << 0),
     kCTFontTransformApplyPositioning = (1 << 1)
 };
 #endif
+bool CTFontGetVerticalGlyphsForCharacters(CTFontRef, const UniChar characters[], CGGlyph glyphs[], CFIndex count);
+#endif
 
 CGSize CTRunGetInitialAdvance(CTRunRef run);
 CTLineRef CTLineCreateWithUniCharProvider(CTUniCharProviderCallback provide, CTUniCharDisposeCallback dispose, void* refCon);
 CTTypesetterRef CTTypesetterCreateWithUniCharProviderAndOptions(CTUniCharProviderCallback provide, CTUniCharDisposeCallback dispose, void* refCon, CFDictionaryRef options);
 bool CTFontTransformGlyphs(CTFontRef, CGGlyph glyphs[], CGSize advances[], CFIndex count, CTFontTransformOptions);
-bool CTFontGetVerticalGlyphsForCharacters(CTFontRef, const UniChar characters[], CGGlyph glyphs[], CFIndex count);
 
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to