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

Unified Diff: ui/gfx/font_render_params.cc

Issue 789583002: Updates subpixel positioning and hinting when DSF is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: linux fix Created 6 years 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 | « ui/gfx/font_render_params.h ('k') | ui/gfx/font_render_params_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font_render_params.cc
diff --git a/ui/gfx/font_render_params.cc b/ui/gfx/font_render_params.cc
index 780489172b04f18d3d0f20b8cc567e7bef071511..7297cdcb9dfda25f77b90a526d9a3db99ff91536 100644
--- a/ui/gfx/font_render_params.cc
+++ b/ui/gfx/font_render_params.cc
@@ -21,7 +21,8 @@ FontRenderParamsQuery::FontRenderParamsQuery(bool for_web_contents)
: for_web_contents(for_web_contents),
pixel_size(0),
point_size(0),
- style(-1) {
+ style(-1),
+ device_scale_factor(0) {
}
FontRenderParamsQuery::~FontRenderParamsQuery() {}
« no previous file with comments | « ui/gfx/font_render_params.h ('k') | ui/gfx/font_render_params_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698