| Index: components/autofill/core/browser/autofill_profile_comparator.cc
|
| diff --git a/components/autofill/core/browser/autofill_profile_comparator.cc b/components/autofill/core/browser/autofill_profile_comparator.cc
|
| index c3e8709549b5c35931ddfb481c676167c9812f76..fd103d37c67ef6c1ebd02b588764414c1991c171 100644
|
| --- a/components/autofill/core/browser/autofill_profile_comparator.cc
|
| +++ b/components/autofill/core/browser/autofill_profile_comparator.cc
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/i18n/case_conversion.h"
|
| #include "base/i18n/char_iterator.h"
|
| +#include "base/i18n/unicodestring.h"
|
| #include "base/strings/string_piece.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
| @@ -128,7 +129,7 @@ base::string16 AutofillProfileComparator::NormalizeForComparison(
|
|
|
| icu::UnicodeString value = icu::UnicodeString(result.data(), result.length());
|
| transliterator_->transliterate(value);
|
| - return base::string16(value.getBuffer(), value.length());
|
| + return base::i18n::UnicodeStringToString16(value);
|
| }
|
|
|
| bool AutofillProfileComparator::AreMergeable(const AutofillProfile& p1,
|
|
|