Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: Source/WebKit/chromium/src/WebFontImpl.cpp

Issue 18332019: Allow fractional letter- word-spacing values. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: *actually* add the file Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/src/WebFontImpl.h ('k') | Source/core/css/DeprecatedStyleBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebFontImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebFontImpl.cpp b/Source/WebKit/chromium/src/WebFontImpl.cpp
index 319aaea179b70d84cb4e1f86cabd7bc91658fd75..c8ec94bbd6143285e94f5fd760b04abef1f27b2a 100644
--- a/Source/WebKit/chromium/src/WebFontImpl.cpp
+++ b/Source/WebKit/chromium/src/WebFontImpl.cpp
@@ -52,7 +52,7 @@ WebFont* WebFont::create(const WebFontDescription& desc)
return new WebFontImpl(desc, desc.letterSpacing, desc.wordSpacing);
}
-WebFontImpl::WebFontImpl(const FontDescription& desc, short letterSpacing, short wordSpacing)
+WebFontImpl::WebFontImpl(const FontDescription& desc, float letterSpacing, float wordSpacing)
: m_font(desc, letterSpacing, wordSpacing)
{
m_font.update(0);
« no previous file with comments | « Source/WebKit/chromium/src/WebFontImpl.h ('k') | Source/core/css/DeprecatedStyleBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698