Index: third_party/WebKit/Source/platform/exported/linux/WebFontRenderStyle.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/linux/WebFontRenderStyle.cpp b/third_party/WebKit/Source/platform/exported/linux/WebFontRenderStyle.cpp |
index a359690bde9b67a902e4f0b0f00fefc1b03884cf..8fc07b75c3ae6835f23206ca2788bd15f93e8198 100644 |
--- a/third_party/WebKit/Source/platform/exported/linux/WebFontRenderStyle.cpp |
+++ b/third_party/WebKit/Source/platform/exported/linux/WebFontRenderStyle.cpp |
@@ -47,13 +47,13 @@ void WebFontRenderStyle::toFontRenderStyle(FontRenderStyle* out) |
void WebFontRenderStyle::setDefaults() |
{ |
- useBitmaps = 2; |
- useAutoHint = 2; |
- useHinting = 2; |
+ useBitmaps = FontRenderStyle::NoPreference; |
+ useAutoHint = FontRenderStyle::NoPreference; |
+ useHinting = FontRenderStyle::NoPreference; |
hintStyle = 0; |
- useAntiAlias = 2; |
- useSubpixelRendering = 2; |
- useSubpixelPositioning = 2; |
+ useAntiAlias = FontRenderStyle::NoPreference; |
+ useSubpixelRendering = FontRenderStyle::NoPreference; |
+ useSubpixelPositioning = FontRenderStyle::NoPreference; |
} |
} // namespace blink |