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

Unified Diff: ui/app_list/views/speech_view.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: ui/app_list/views/speech_view.cc
diff --git a/ui/app_list/views/speech_view.cc b/ui/app_list/views/speech_view.cc
index b8fa7f551faf96451e121bc16cc2e3cca68cd883..6576341b0a47098431c674d4b99a0fe1c5dda98b 100644
--- a/ui/app_list/views/speech_view.cc
+++ b/ui/app_list/views/speech_view.cc
@@ -144,7 +144,7 @@ SpeechView::SpeechView(AppListViewDelegate* delegate)
// TODO(mukai): use BoundedLabel to cap 2 lines.
ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
speech_result_ = new views::Label(
- base::string16(), bundle.GetFontList(ui::ResourceBundle::LargeFont));
+ base::string16(), {bundle.GetFontList(ui::ResourceBundle::LargeFont)});
speech_result_->SetMultiLine(true);
speech_result_->SetHorizontalAlignment(gfx::ALIGN_LEFT);

Powered by Google App Engine
This is Rietveld 408576698