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

Unified Diff: components/omnibox/browser/autocomplete_controller.cc

Issue 2347973002: Enable Chrome to tweak search engines for some locales (Closed)
Patch Set: final nits Created 4 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
Index: components/omnibox/browser/autocomplete_controller.cc
diff --git a/components/omnibox/browser/autocomplete_controller.cc b/components/omnibox/browser/autocomplete_controller.cc
index 0082eb590fb2c0b8580dbd726deca365fe8a2f25..c0cacb9a7fb1368c875482f643511f5970f3722c 100644
--- a/components/omnibox/browser/autocomplete_controller.cc
+++ b/components/omnibox/browser/autocomplete_controller.cc
@@ -553,7 +553,7 @@ void AutocompleteController::UpdateKeywordDescriptions(
// name -- don't assume that the normal search keyword description is
// applicable.
i->description = template_url->AdjustedShortNameForLocaleDirection();
- if (template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION) {
+ if (template_url->type() != TemplateURL::OMNIBOX_API_EXTENSION) {
i->description = l10n_util::GetStringFUTF16(
IDS_AUTOCOMPLETE_SEARCH_DESCRIPTION, i->description);
}

Powered by Google App Engine
This is Rietveld 408576698