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

Unified Diff: ui/gfx/font_render_params.cc

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Alexei's issues Created 4 years, 8 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: ui/gfx/font_render_params.cc
diff --git a/ui/gfx/font_render_params.cc b/ui/gfx/font_render_params.cc
index 7b8543560c86a69ec3a325708b111d9165113af7..c8d4eadbd07bac7a568d655f7a8227c8552a5eab 100644
--- a/ui/gfx/font_render_params.cc
+++ b/ui/gfx/font_render_params.cc
@@ -60,8 +60,8 @@ FontRenderParamsQuery::FontRenderParamsQuery()
: pixel_size(0),
point_size(0),
style(-1),
- device_scale_factor(0) {
-}
+ weight(gfx::Font::Weight::INVALID),
Alexei Svitkine (slow) 2016/04/05 16:38:51 Remove gfx::
+ device_scale_factor(0) {}
FontRenderParamsQuery::FontRenderParamsQuery(
const FontRenderParamsQuery& other) = default;

Powered by Google App Engine
This is Rietveld 408576698