Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / WebFontImpl.cpp
index e44503b..724146f 100644 (file)
@@ -48,18 +48,18 @@ namespace blink {
 
 WebFont* WebFont::create(const WebFontDescription& desc)
 {
-    return new WebFontImpl(desc, desc.letterSpacing, desc.wordSpacing);
+    return new WebFontImpl(desc);
 }
 
-WebFontImpl::WebFontImpl(const FontDescription& desc, float letterSpacing, float wordSpacing)
-    : m_font(desc, letterSpacing, wordSpacing)
+WebFontImpl::WebFontImpl(const FontDescription& desc)
+    : m_font(desc)
 {
     m_font.update(0);
 }
 
 WebFontDescription WebFontImpl::fontDescription() const
 {
-    return WebFontDescription(m_font.fontDescription(), m_font.letterSpacing(), m_font.wordSpacing());
+    return WebFontDescription(m_font.fontDescription());
 }
 
 int WebFontImpl::ascent() const