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..cab39f00abdc1fe161f74053effa3788a2b69803 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,8 @@ 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), |
+ views::Label::CustomFont{font_list}) { |
SetBorder(views::CreateEmptyBorder( |
gfx::Insets(LocationBarView::kBubbleVerticalPadding, 0))); |
} |
@@ -144,7 +145,8 @@ 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(), views::Label::CustomFont{font_list}); |
label->SetEnabledColor(text_color); |
label->SetBackgroundColor(background_color); |
AddChildView(label); |