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 f872c9064e0b6826c6b5c8ab86f0bd279f41829f..73ae3a8ee51d364297cf13059e48afe8e810dacf 100644 |
--- a/chrome/browser/extensions/api/autofill_private/autofill_util.cc |
+++ b/chrome/browser/extensions/api/autofill_private/autofill_util.cc |
@@ -62,8 +62,8 @@ std::unique_ptr<std::vector<std::string>> GetValueList( |
std::unique_ptr<std::string> GetStringFromProfile( |
const autofill::AutofillProfile& profile, |
const autofill::ServerFieldType& type) { |
- return base::WrapUnique( |
- new std::string(base::UTF16ToUTF8(profile.GetRawInfo(type)))); |
+ return base::MakeUnique<std::string>( |
+ base::UTF16ToUTF8(profile.GetRawInfo(type))); |
} |
autofill_private::AddressEntry ProfileToAddressEntry( |