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

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

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: Rebase (conflict in layout_delegate.h due to r457774) 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 06299c1d2a2bd8244467afcac02a0871e3d16e51..ac8275815abdb90c2c8ddae54bf2ba5678b5fbd3 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,14 +51,14 @@ 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, {font_list.DeriveWithWeight(gfx::Font::Weight::BOLD)});
suggestion_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
suggestion_label->SetEnabledColor(
PasswordGenerationPopupView::kPasswordTextColor);
AddChildView(suggestion_label);
views::Label* password_label =
- new views::Label(generated_password, font_list);
+ new views::Label(generated_password, {font_list});
password_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
password_label->SetEnabledColor(
PasswordGenerationPopupView::kPasswordTextColor);

Powered by Google App Engine
This is Rietveld 408576698