summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/omnibox/omnibox_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/omnibox/omnibox_view.cc')
-rw-r--r--chrome/browser/ui/omnibox/omnibox_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/omnibox/omnibox_view.cc b/chrome/browser/ui/omnibox/omnibox_view.cc
index e8bd344..f91b981 100644
--- a/chrome/browser/ui/omnibox/omnibox_view.cc
+++ b/chrome/browser/ui/omnibox/omnibox_view.cc
@@ -89,7 +89,7 @@ bool OmniboxView::IsEditingOrEmpty() const {
int OmniboxView::GetIcon() const {
if (IsEditingOrEmpty()) {
- return AutocompleteMatch::TypeToIcon(model_.get() ?
+ return AutocompleteMatch::TypeToLocationBarIcon(model_.get() ?
model_->CurrentTextType() : AutocompleteMatch::URL_WHAT_YOU_TYPED);
} else {
return toolbar_model_->GetIcon();