| Index: chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| index 1d7bfeab123773224d3973963418a0145baf2e51..e288c4afd52bb6c5355776f9e82587101e5aa60b 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| @@ -624,8 +624,11 @@ gfx::ImageSkia OmniboxResultView::GetKeywordIcon() const {
|
|
|
| gfx::ImageSkia OmniboxResultView::GetVectorIcon(
|
| gfx::VectorIconId icon_id) const {
|
| - return gfx::CreateVectorIcon(icon_id, 16, color_utils::DeriveDefaultIconColor(
|
| - GetColor(GetState(), TEXT)));
|
| + // For selected rows, paint the icon the same color as the text.
|
| + SkColor color = GetColor(GetState(), TEXT);
|
| + if (GetState() != SELECTED)
|
| + color = color_utils::DeriveDefaultIconColor(color);
|
| + return gfx::CreateVectorIcon(icon_id, 16, color);
|
| }
|
|
|
| bool OmniboxResultView::ShowOnlyKeywordMatch() const {
|
|
|