Build fix, take 2.
authorenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2014 02:23:07 +0000 (02:23 +0000)
committerenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2014 02:23:07 +0000 (02:23 +0000)
* platform/mac/HTMLConverter.mm:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/mac/HTMLConverter.mm

index 58cdd885f1142e998f6c80311390aab5d1b32d8d..b43244472858873480f1cf1066e99bd9af2c9a49 100644 (file)
@@ -1,3 +1,9 @@
+2014-03-05  Enrica Casucci  <enrica@apple.com>
+
+        Build fix, take 2.
+
+        * platform/mac/HTMLConverter.mm:
+
 2014-03-05  Enrica Casucci  <enrica@apple.com>
 
         Build fix.
index eb15bf59556291007da4feb5ce66cb6da29d3fff..c50ef8e79479239e6effd22fb1c81d96488722b7 100644 (file)
@@ -138,6 +138,11 @@ SOFT_LINK_CONSTANT(UIFoundation, NSCocoaVersionDocumentAttribute, NSString *)
 #define PlatformNSColorClass        getNSColorClass()
 #define PlatformFont                UIFont
 #define PlatformFontClass           getUIFontClass()
+
+// We don't softlink NSSuperscriptAttributeName because UIFoundation stopped exporting it.
+// This attribute is being deprecated at the API level, but internally UIFoundation
+// will continue to support it.
+static NSString *const NSSuperscriptAttributeName = @"NSSuperscript";
 #else
 
 #define PlatformNSShadow            NSShadow
@@ -157,11 +162,6 @@ SOFT_LINK_CONSTANT(UIFoundation, NSCocoaVersionDocumentAttribute, NSString *)
 #define NSTextAlignmentRight        NSRightTextAlignment
 #define NSTextAlignmentCenter       NSCenterTextAlignment
 #define NSTextAlignmentJustified    NSJustifiedTextAlignment
-
-// We don't softlink NSSuperscriptAttributeName because UIFoundation stopped exporting it.
-// This attribute is being deprecated at the API level, but internally UIFoundation
-// will continue to support it.
-static NSString *const NSSuperscriptAttributeName = @"NSSuperscript";
 #endif
 
 using namespace WebCore;