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

Unified Diff: third_party/WebKit/Source/platform/exported/linux/WebFontRenderStyle.cpp

Issue 1944993003: Move most of FontRenderStyle manipulation code into its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more typo fix Created 4 years, 7 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
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
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform.gypi ('k') | third_party/WebKit/Source/platform/fonts/FontPlatformData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698