| Index: components/search_engines/template_url_service.cc
|
| diff --git a/components/search_engines/template_url_service.cc b/components/search_engines/template_url_service.cc
|
| index 12abbe8b29415f6f9269a43349659ea7623576ff..9516dbfa2f9260e0f43451c6b3f5377221d7dfad 100644
|
| --- a/components/search_engines/template_url_service.cc
|
| +++ b/components/search_engines/template_url_service.cc
|
| @@ -1281,7 +1281,9 @@ TemplateURLService::CreateTemplateURLFromTemplateURLAndSyncData(
|
| data.favicon_url = GURL(specifics.favicon_url());
|
| data.show_in_default_list = specifics.show_in_default_list();
|
| data.safe_for_autoreplace = specifics.safe_for_autoreplace();
|
| - base::SplitString(specifics.input_encodings(), ';', &data.input_encodings);
|
| + data.input_encodings = base::SplitString(
|
| + specifics.input_encodings(), ";",
|
| + base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL);
|
| // If the server data has duplicate encodings, we'll want to push an update
|
| // below to correct it. Note that we also fix this in
|
| // GetSearchProvidersUsingKeywordResult(), since otherwise we'd never correct
|
|
|