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

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

Issue 2768923003: Fix gn_all build on gcc 4.8 (Closed)
Patch Set: Created 3 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 ac8275815abdb90c2c8ddae54bf2ba5678b5fbd3..052cdce19032b264b35a784d9dbc99a4bd7ee380 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
@@ -51,7 +51,8 @@ class PasswordTextBox : public views::View {
SetLayoutManager(box_layout);
views::Label* suggestion_label = new views::Label(
- suggestion_text, {font_list.DeriveWithWeight(gfx::Font::Weight::BOLD)});
+ suggestion_text, views::Label::CustomFont{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