Reviewed by Oliver. Fix build error introduced by Dan's unicode-range support patch...
authorzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 23:54:13 +0000 (23:54 +0000)
committerzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 23:54:13 +0000 (23:54 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29253 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/css/CSSFontSelector.cpp

index cfc505d9ef8a6ca707693970538094aeabe06efe..658a85084426f9af1caf4813f1a730c03fce352c 100644 (file)
@@ -1,3 +1,10 @@
+2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
+
+        Reviewed by Oliver. Fix build error introduced by Dan's unicode-range support patch & enabling SVG_FONTS by default.
+
+        * css/CSSFontSelector.cpp:
+        (WebCore::CSSFontSelector::getFontData):
+
 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Not reviewed. Next try to fix wx/mac leopard build.
index 1225b7f2db1a3115acf0f8cfd5f6acdb8da59d57..dcbcbdad08d3bae8bd844ae3ff2afe7aceb04b1b 100644 (file)
@@ -279,7 +279,7 @@ FontData* CSSFontSelector::getFontData(const FontDescription& fontDescription, c
     String family = familyName.domString().lower();
 
 #if ENABLE(SVG_FONTS)
-    RefPtr<CSSFontFace> face;
+    RefPtr<CSSSegmentedFontFace> face;
 
     if (fontDescription.smallCaps()) {
         String testFamily = family + "-webkit-svg-small-caps";