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 06b47c5b20c6cff5c26c9972114c34cdf4508d66..da0eeffb41fa06820ef9df8ebe245d8478b02af0 100644 |
--- a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc |
+++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc |
@@ -130,11 +130,12 @@ void KeywordHintView::Layout() { |
} |
views::Label* KeywordHintView::CreateLabel() { |
+ const ui::NativeTheme* theme = GetNativeTheme(); |
views::Label* label = new views::Label(); |
label->SetBackgroundColor(LocationBarView::GetColor( |
- ToolbarModel::NONE, LocationBarView::BACKGROUND)); |
+ theme, ToolbarModel::NONE, LocationBarView::BACKGROUND)); |
label->SetEnabledColor(LocationBarView::GetColor( |
- ToolbarModel::NONE, LocationBarView::DEEMPHASIZED_TEXT)); |
+ theme, ToolbarModel::NONE, LocationBarView::DEEMPHASIZED_TEXT)); |
AddChildView(label); |
return label; |
} |