Update template_url_prepopulate_data.cc

This commit is contained in:
Alexander David Frick 2022-02-02 22:11:33 -06:00 committed by GitHub
parent 83aeb1c3fb
commit 6584f25517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1350,7 +1350,7 @@ std::vector<std::unique_ptr<TemplateURLData>> GetPrepopulatedTemplateURLData(
if (!list)
return t_urls;
for (const base::Value& engine : list->GetList()) {
for (const base::Value& engine : list->GetListDeprecated()) {
if (engine.is_dict()) {
auto t_url = TemplateURLDataFromOverrideDictionary(engine);
if (t_url)