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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.cc

Issue 10867038: A simple version of search term replacement for testing . (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use url_parse Created 8 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/views/omnibox/omnibox_view_win.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
index 251076ffedfa3e793eb69ae7f062b998cd25fd45..c00711d69691d2deae1a863750dcff136f7c7c59 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
@@ -562,7 +562,7 @@ void OmniboxViewWin::SaveStateToTab(WebContents* tab) {
void OmniboxViewWin::Update(const WebContents* tab_for_state_restoring) {
const bool visibly_changed_permanent_text =
- model()->UpdatePermanentText(toolbar_model()->GetText());
+ model()->UpdatePermanentText(toolbar_model()->GetText(true));
sky 2012/08/23 22:44:26 Do you ever pass in false?
dominich 2012/08/24 15:51:07 In this CL, no. In future CLs, probably as we'll w
const ToolbarModel::SecurityLevel security_level =
toolbar_model()->GetSecurityLevel();

Powered by Google App Engine
This is Rietveld 408576698