| Index: chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.cc b/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| index c23b1a7e881b6bce602944166451c5cc5a0a6380..33291c8254c930d8695edc9e3bc0012e139448eb 100644
|
| --- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| @@ -346,8 +346,8 @@ void AutofillOptionsHandler::LoadAutofillData() {
|
|
|
| base::string16 separator =
|
| l10n_util::GetStringUTF16(IDS_AUTOFILL_ADDRESS_SUMMARY_SEPARATOR);
|
| - std::vector<base::string16> label_parts;
|
| - base::SplitStringUsingSubstr(labels[i], separator, &label_parts);
|
| + std::vector<base::string16> label_parts = base::SplitStringUsingSubstr(
|
| + labels[i], separator, base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
|
|
| std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue);
|
| value->SetString("guid", profiles[i]->guid());
|
|
|