| Index: chrome/browser/extensions/api/autofill_private/autofill_util.cc
|
| diff --git a/chrome/browser/extensions/api/autofill_private/autofill_util.cc b/chrome/browser/extensions/api/autofill_private/autofill_util.cc
|
| index 73ae3a8ee51d364297cf13059e48afe8e810dacf..6f6d7f976ffd01e7a49efed2e11f0c16da04f7bc 100644
|
| --- a/chrome/browser/extensions/api/autofill_private/autofill_util.cc
|
| +++ b/chrome/browser/extensions/api/autofill_private/autofill_util.cc
|
| @@ -101,8 +101,8 @@ autofill_private::AddressEntry ProfileToAddressEntry(
|
| // Parse |label| so that it can be used to create address metadata.
|
| base::string16 separator =
|
| l10n_util::GetStringUTF16(IDS_AUTOFILL_ADDRESS_SUMMARY_SEPARATOR);
|
| - std::vector<base::string16> label_pieces;
|
| - base::SplitStringUsingSubstr(label, separator, &label_pieces);
|
| + std::vector<base::string16> label_pieces = base::SplitStringUsingSubstr(
|
| + label, separator, base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
|
|
| // Create address metadata and add it to |address|.
|
| std::unique_ptr<autofill_private::AutofillMetadata> metadata(
|
|
|