Index: chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/selected_keyword_view.cc b/chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
index 29ebad19b2cec2adaa5efa1083f3b2016483daa8..da31fb4d2cf9147a8dcd25ef9af2b5e95bd492f8 100644 |
--- a/chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
+++ b/chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
@@ -17,6 +17,7 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/material_design/material_design_controller.h" |
#include "ui/base/theme_provider.h" |
+#include "ui/gfx/color_palette.h" |
#include "ui/gfx/paint_vector_icon.h" |
#include "ui/gfx/vector_icons_public.h" |
#include "ui/native_theme/native_theme.h" |
@@ -56,8 +57,9 @@ void SelectedKeywordView::ResetImage() { |
} |
SkColor SelectedKeywordView::GetTextColor() const { |
- return GetNativeTheme()->GetSystemColor( |
- ui::NativeTheme::kColorId_LinkEnabled); |
+ return IsInvertedColorScheme() ? gfx::kGoogleBlue700 |
+ : GetNativeTheme()->GetSystemColor( |
+ ui::NativeTheme::kColorId_LinkEnabled); |
} |
SkColor SelectedKeywordView::GetBorderColor() const { |