Index: components/autofill/core/browser/webdata/autocomplete_syncable_service.cc |
diff --git a/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc b/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc |
index d303d165ae571fbcade1e239007b7616576f4e6a..816addcbf15e4a4fcf1c52e7a76cb99e04985ee9 100644 |
--- a/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc |
+++ b/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc |
@@ -10,6 +10,7 @@ |
#include "base/location.h" |
#include "base/logging.h" |
+#include "base/memory/ptr_util.h" |
#include "base/strings/utf_string_conversions.h" |
#include "components/autofill/core/browser/webdata/autofill_table.h" |
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
@@ -80,7 +81,8 @@ void AutocompleteSyncableService::CreateForWebDataServiceAndBackend( |
AutofillWebDataService* web_data_service, |
AutofillWebDataBackend* web_data_backend) { |
web_data_service->GetDBUserData()->SetUserData( |
- UserDataKey(), new AutocompleteSyncableService(web_data_backend)); |
+ UserDataKey(), |
+ base::WrapUnique(new AutocompleteSyncableService(web_data_backend))); |
} |
// static |