Chromium Code Reviews| Index: Source/core/css/resolver/FontBuilder.h |
| diff --git a/Source/core/css/resolver/FontBuilder.h b/Source/core/css/resolver/FontBuilder.h |
| index ab44a4f4cf3434e7a0d562f939f98f2596c287c4..f84c719a9534a28b99ee4c2197fdf266078092c6 100644 |
| --- a/Source/core/css/resolver/FontBuilder.h |
| +++ b/Source/core/css/resolver/FontBuilder.h |
| @@ -73,7 +73,7 @@ public: |
| void setScript(const String& locale); |
| void setItalic(FontItalic); |
| void setSmallCaps(FontSmallCaps); |
| - void setTextRenderingMode(TextRenderingMode); |
| + void setTextRendering(TextRenderingMode); |
| void setKerning(FontDescription::Kerning); |
| void setFontSmoothing(FontSmoothingMode); |
| @@ -91,6 +91,13 @@ public: |
| bool fontDirty() const { return m_fontDirty; } |
| friend class FontDescriptionChangeScope; |
| +public: |
|
Timothy Loh
2014/03/04 05:58:22
Looks like we're already public.
dglazkov
2014/03/05 04:05:19
Removed.
|
| + static TextRenderingMode initialTextRendering() { return AutoTextRendering; } |
| + static FontSmallCaps initialSmallCaps() { return FontSmallCapsOff; } |
| + static FontItalic initialItalic() { return FontItalicOff; } |
| + static FontDescription::Kerning initialKerning() { return FontDescription::AutoKerning; } |
| + static FontSmoothingMode initialFontSmoothing() { return AutoSmoothing; } |
| + |
| private: |
| // FIXME: "size" arg should be first for consistency with other similar functions. |