Index: components/search_engines/keyword_table.cc |
diff --git a/components/search_engines/keyword_table.cc b/components/search_engines/keyword_table.cc |
index fcbd52558259ebcaa0206cf1c75fd44cfe3e9d3d..eee2ac8273e98df5be76dc4108e4b8e5e3db0cad 100644 |
--- a/components/search_engines/keyword_table.cc |
+++ b/components/search_engines/keyword_table.cc |
@@ -446,7 +446,7 @@ bool KeywordTable::MigrateKeywordsTableForVersion45(const std::string& name) { |
TemplateURL turl(data); |
// Don't persist extension keywords to disk. These will get added to the |
// TemplateURLService as the extensions are loaded. |
- bool delete_entry = turl.GetType() == TemplateURL::OMNIBOX_API_EXTENSION; |
+ bool delete_entry = turl.type() == TemplateURL::OMNIBOX_API_EXTENSION; |
if (!delete_entry && generate_keyword) { |
// Explicitly generate keywords for all rows with the autogenerate bit set |
// or where the keyword is empty. |