Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
index 78dae8b61a55cf9c8bfaa2db75822b89124009c6..3bfcc22977e2a1246f2e7066089db26b8783a9f4 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
@@ -527,7 +527,7 @@ void OmniboxEditModel::AcceptInput(WindowOpenDisposition disposition, |
match.transition = content::PAGE_TRANSITION_LINK; |
} |
- const TemplateURL* template_url = match.GetTemplateURL(profile_); |
+ const TemplateURL* template_url = match.GetTemplateURL(profile_, false); |
if (template_url && template_url->url_ref().HasGoogleBaseURLs()) |
GoogleURLTracker::GoogleURLSearchCommitted(profile_); |
@@ -578,7 +578,7 @@ void OmniboxEditModel::OpenMatch(const AutocompleteMatch& match, |
HISTOGRAM_ENUMERATION("Omnibox.EventCount", 1, 2); |
} |
- TemplateURL* template_url = match.GetTemplateURL(profile_); |
+ TemplateURL* template_url = match.GetTemplateURL(profile_, false); |
if (template_url) { |
if (match.transition == content::PAGE_TRANSITION_KEYWORD) { |
// The user is using a non-substituting keyword or is explicitly in |