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

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

Issue 23804002: Make OmniboxEditModel::UpdatePermanentText() fetch the new text itself rather (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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
Index: chrome/browser/ui/omnibox/omnibox_view.cc
===================================================================
--- chrome/browser/ui/omnibox/omnibox_view.cc (revision 220446)
+++ chrome/browser/ui/omnibox/omnibox_view.cc (working copy)
@@ -99,7 +99,7 @@
if (!IsEditingOrEmpty())
return controller_->GetToolbarModel()->GetIcon();
return AutocompleteMatch::TypeToLocationBarIcon(model_.get() ?
- model_->CurrentTextType() : AutocompleteMatchType::URL_WHAT_YOU_TYPED);
+ model_->CurrentTextType() : AutocompleteMatchType::URL_WHAT_YOU_TYPED);
}
void OmniboxView::SetUserText(const string16& text) {
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_unittest.cc ('k') | chrome/browser/ui/omnibox/omnibox_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698