Attempted build fix for non-Mac.
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jun 2013 20:40:09 +0000 (20:40 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jun 2013 20:40:09 +0000 (20:40 +0000)
* platform/graphics/SimpleFontData.cpp:
(WebCore::SimpleFontData::nonSyntheticItalicFontData):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/SimpleFontData.cpp

index 9ec5be9561ca3e577d2293ddcf79e5973b00f82b..3785a793f91621c86014a77af60fd3d50e85d8ea 100644 (file)
@@ -1,3 +1,10 @@
+2013-06-18  Dean Jackson  <dino@apple.com>
+
+        Attempted build fix for non-Mac.
+
+        * platform/graphics/SimpleFontData.cpp:
+        (WebCore::SimpleFontData::nonSyntheticItalicFontData):
+
 2013-06-18  Dean Jackson  <dino@apple.com>
 
         Synthesized vertical italics on rotated glyphs are transformed incorrectly
index 93d4aa80e127a2e1413ff288f98239919b525b67..fe0fb981cb9f209f839717a22f2def909dbd57d3 100644 (file)
@@ -235,7 +235,9 @@ PassRefPtr<SimpleFontData> SimpleFontData::nonSyntheticItalicFontData() const
         m_derivedFontData = DerivedFontData::create(isCustomFont());
     if (!m_derivedFontData->nonSyntheticItalic) {
         FontPlatformData nonSyntheticItalicFontPlatformData(m_platformData);
+#if PLATFORM(MAC)
         nonSyntheticItalicFontPlatformData.m_syntheticOblique = false;
+#endif
         m_derivedFontData->nonSyntheticItalic = create(nonSyntheticItalicFontPlatformData, isCustomFont(), false, true);
     }
     return m_derivedFontData->nonSyntheticItalic;