Index: ui/gfx/font_render_params_linux.cc |
diff --git a/ui/gfx/font_render_params_linux.cc b/ui/gfx/font_render_params_linux.cc |
index ed338d66cbcbc46f553d1afd3ec22bd40a0127a1..a3fb63b97008d4dd1ce50952d4804dbd4cd380a9 100644 |
--- a/ui/gfx/font_render_params_linux.cc |
+++ b/ui/gfx/font_render_params_linux.cc |
@@ -250,11 +250,7 @@ FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query, |
} else { |
// Fontconfig doesn't support configuring subpixel positioning; check a |
// flag. |
Daniel Erat
2015/03/20 23:51:50
please delete this now-obsolete comment.
stapelberg
2015/03/31 18:11:57
Done.
|
- params.subpixel_positioning = |
- actual_query.for_web_contents |
- ? base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableWebkitTextSubpixelPositioning) |
Daniel Erat
2015/03/20 23:51:50
this looks like it was the only place where this f
stapelberg
2015/03/31 18:11:57
Done.
|
- : actual_query.device_scale_factor > 1.0f; |
+ params.subpixel_positioning = actual_query.device_scale_factor > 1.0f; |
// To enable subpixel positioning, we need to disable hinting. |
if (params.subpixel_positioning) |