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

Unified Diff: chrome/browser/ui/search_engines/template_url_table_model.cc

Issue 2347973002: Enable Chrome to tweak search engines for some locales (Closed)
Patch Set: fix compile 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: chrome/browser/ui/search_engines/template_url_table_model.cc
diff --git a/chrome/browser/ui/search_engines/template_url_table_model.cc b/chrome/browser/ui/search_engines/template_url_table_model.cc
index 04246a5a73c6765cfc203f4129eb9f255e86424f..27836e626ec15fbfedb86d7bd35ca7270f1a4517 100644
--- a/chrome/browser/ui/search_engines/template_url_table_model.cc
+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc
@@ -149,7 +149,7 @@ void TemplateURLTableModel::Reload() {
// the lists while editing.
if (template_url->show_in_default_list())
default_entries.push_back(new ModelEntry(this, template_url));
- else if (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION)
+ else if (template_url->type() == TemplateURL::OMNIBOX_API_EXTENSION)
extension_entries.push_back(new ModelEntry(this, template_url));
else
other_entries.push_back(new ModelEntry(this, template_url));

Powered by Google App Engine
This is Rietveld 408576698