Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4347)

Unified Diff: chrome/browser/ui/omnibox/omnibox_view.cc

Issue 10951023: Update page icon in the omnibox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_match.cc ('k') | chrome/browser/ui/toolbar/toolbar_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/omnibox/omnibox_view.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_view.cc b/chrome/browser/ui/omnibox/omnibox_view.cc
index e8bd344f05d7bfaeed9a328e9d665c7a60fc79cf..f91b981dbe4ee7757cd0179baa792b4ecd40939a 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();
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_match.cc ('k') | chrome/browser/ui/toolbar/toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698