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

Unified Diff: chrome/browser/omnibox_search_hint.cc

Issue 9968016: Move the URL string from TemplateURLRef onto the owning TemplateURL. This will make it easier to m… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/omnibox_search_hint.cc
===================================================================
--- chrome/browser/omnibox_search_hint.cc (revision 129864)
+++ chrome/browser/omnibox_search_hint.cc (working copy)
@@ -190,7 +190,7 @@
if (!default_provider)
return;
- if (default_provider->url()->GetHost() == entry->GetURL().host())
+ if (default_provider->url_ref().GetHost() == entry->GetURL().host())
ShowInfoBar();
} else if (type == chrome::NOTIFICATION_OMNIBOX_OPENED_URL) {
AutocompleteLog* log = content::Details<AutocompleteLog>(details).ptr();

Powered by Google App Engine
This is Rietveld 408576698