Index: components/autofill/core/browser/autofill_merge_unittest.cc |
diff --git a/components/autofill/core/browser/autofill_merge_unittest.cc b/components/autofill/core/browser/autofill_merge_unittest.cc |
index 91803e19c2193bad6ccab544c08c054ed91482bc..a737430386953dd0a3fa920e706516004b7b119f 100644 |
--- a/components/autofill/core/browser/autofill_merge_unittest.cc |
+++ b/components/autofill/core/browser/autofill_merge_unittest.cc |
@@ -64,14 +64,11 @@ std::string SerializeProfiles(const std::vector<AutofillProfile*>& profiles) { |
result += "\n"; |
for (size_t j = 0; j < arraysize(kProfileFieldTypes); ++j) { |
ServerFieldType type = kProfileFieldTypes[j]; |
- std::vector<base::string16> values; |
- profiles[i]->GetRawMultiInfo(type, &values); |
- for (size_t k = 0; k < values.size(); ++k) { |
- result += AutofillType(type).ToString(); |
- result += kFieldSeparator; |
- result += base::UTF16ToUTF8(values[k]); |
- result += "\n"; |
- } |
+ base::string16 value = profiles[i]->GetRawInfo(type); |
+ result += AutofillType(type).ToString(); |
+ result += kFieldSeparator; |
+ result += base::UTF16ToUTF8(value); |
+ result += "\n"; |
} |
} |