Chromium Code Reviews| Index: components/omnibox/browser/omnibox_view.cc |
| diff --git a/components/omnibox/browser/omnibox_view.cc b/components/omnibox/browser/omnibox_view.cc |
| index 1eb5bc9a63fb1328c898ce7527787f0baf2f6bb6..c92730f03337167fa96512a737b685be95034197 100644 |
| --- a/components/omnibox/browser/omnibox_view.cc |
| +++ b/components/omnibox/browser/omnibox_view.cc |
| @@ -92,14 +92,9 @@ gfx::VectorIconId OmniboxView::GetVectorIcon() const { |
| if (!IsEditingOrEmpty()) |
| return controller_->GetToolbarModel()->GetVectorIcon(); |
| - // Reuse the dropdown icons... |
| - gfx::VectorIconId id = AutocompleteMatch::TypeToVectorIcon( |
| + return AutocompleteMatch::TypeToVectorIcon( |
| model_ ? model_->CurrentTextType() |
| : AutocompleteMatchType::URL_WHAT_YOU_TYPED); |
|
Peter Kasting
2016/07/18 19:31:25
Make sure this change doesn't change the omnibox i
|
| - // but use a different version for the HTTP icon. |
| - return (id == gfx::VectorIconId::OMNIBOX_HTTP) |
| - ? gfx::VectorIconId::LOCATION_BAR_HTTP |
| - : id; |
| #else |
| NOTIMPLEMENTED(); |
| return gfx::VectorIconId::VECTOR_ICON_NONE; |