Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index 5536a492e6f6f98592530eaa5fab5081a90c4c40..a068aeeec937ba93f5ec0276cdc6dfb6821aa022 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -199,8 +199,9 @@ void LocationBarView::Init() { |
ime_inline_autocomplete_view_->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
ime_inline_autocomplete_view_->SetAutoColorReadabilityEnabled(false); |
ime_inline_autocomplete_view_->set_background( |
- views::Background::CreateSolidBackground(GetNativeTheme()->GetSystemColor( |
- ui::NativeTheme::kColorId_TextfieldSelectionBackgroundFocused))); |
+ views::Background::CreateThemedSolidBackground( |
+ ime_inline_autocomplete_view_, |
+ ui::NativeTheme::kColorId_TextfieldSelectionBackgroundFocused)); |
ime_inline_autocomplete_view_->SetEnabledColor( |
msw
2017/04/19 19:00:54
This label's foreground color doesn't change with
Evan Stade
2017/04/20 04:44:22
I didn't really intend to fix all native theming i
msw
2017/04/20 18:21:45
I just think this isn't as simple as it seems; "fi
Evan Stade
2017/04/20 21:18:45
It's also quite possible that bugs go the other di
|
GetNativeTheme()->GetSystemColor( |
ui::NativeTheme::kColorId_TextfieldSelectionColor)); |