Index: components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc |
diff --git a/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc b/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc |
index 021b91abd5034ce35cb281ca91e06b6d858b3d6e..261f63bd6ca401ff3ef89ad16c3cd9eaebcc7d35 100644 |
--- a/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc |
+++ b/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc |
@@ -500,8 +500,8 @@ void AutofillWalletMetadataSyncableService::CreateForWebDataServiceAndBackend( |
AutofillWebDataBackend* web_data_backend, |
const std::string& app_locale) { |
web_data_service->GetDBUserData()->SetUserData( |
- UserDataKey(), |
- new AutofillWalletMetadataSyncableService(web_data_backend, app_locale)); |
+ UserDataKey(), base::WrapUnique(new AutofillWalletMetadataSyncableService( |
+ web_data_backend, app_locale))); |
} |
// static |