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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac fixes Created 4 years, 9 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: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
index f8431719ca76c133a24d0bce7b795118dd826911..b21503c6ed588c6bb0beb89ee53e7e7da93d4354 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
@@ -50,7 +50,7 @@ class PasswordTextBox : public views::View {
SetLayoutManager(box_layout);
views::Label* suggestion_label = new views::Label(
- suggestion_text, font_list.DeriveWithStyle(gfx::Font::BOLD));
+ suggestion_text, font_list.DeriveWithWeight(gfx::Font::Weight::BOLD));
suggestion_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
suggestion_label->SetEnabledColor(
PasswordGenerationPopupView::kPasswordTextColor);

Powered by Google App Engine
This is Rietveld 408576698