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

Unified Diff: chrome/browser/ui/views/location_bar/keyword_hint_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: chrome/browser/ui/views/location_bar/keyword_hint_view.cc
diff --git a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
index 041b468bae3f2fda65c03d6d429ac4d40e1226cc..ddb6903142374d48b1d6f6311939900ee18e732b 100644
--- a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
+++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
@@ -37,7 +37,7 @@ class TabKeyBubbleView : public views::Label {
};
TabKeyBubbleView::TabKeyBubbleView(const gfx::FontList& font_list)
- : views::Label(l10n_util::GetStringUTF16(IDS_APP_TAB_KEY), font_list) {
+ : views::Label(l10n_util::GetStringUTF16(IDS_APP_TAB_KEY), {font_list}) {
SetBorder(views::CreateEmptyBorder(
gfx::Insets(LocationBarView::kBubbleVerticalPadding, 0)));
}
@@ -144,7 +144,7 @@ const char* KeywordHintView::GetClassName() const {
views::Label* KeywordHintView::CreateLabel(const gfx::FontList& font_list,
SkColor text_color,
SkColor background_color) {
- views::Label* label = new views::Label(base::string16(), font_list);
+ views::Label* label = new views::Label(base::string16(), {font_list});
label->SetEnabledColor(text_color);
label->SetBackgroundColor(background_color);
AddChildView(label);

Powered by Google App Engine
This is Rietveld 408576698