| Index: components/autofill/core/browser/autofill_profile.cc
|
| diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
|
| index 5bb36c3aaf7350c1296547158dec10819890cf4d..311ea67beccb658aaae676bf4ee2cb5eddffe5d2 100644
|
| --- a/components/autofill/core/browser/autofill_profile.cc
|
| +++ b/components/autofill/core/browser/autofill_profile.cc
|
| @@ -707,10 +707,9 @@ base::string16 AutofillProfile::ConstructInferredLabel(
|
| }
|
|
|
| // Flatten the label if need be.
|
| - const base::char16 kNewline[] = { '\n', 0 };
|
| - const base::string16 newline_separator =
|
| + const base::string16& line_separator =
|
| l10n_util::GetStringUTF16(IDS_AUTOFILL_ADDRESS_LINE_SEPARATOR);
|
| - base::ReplaceChars(label, kNewline, newline_separator, &label);
|
| + base::ReplaceChars(label, base::ASCIIToUTF16("\n"), line_separator, &label);
|
|
|
| return label;
|
| }
|
|
|