Index: chrome/browser/search_engines/template_url_service_test_util.cc |
diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc |
index 37f6429bdcf88593227dae8713b04a7e2bd2481e..722e2cc58d6cb3f6c68a197baf534cdb2f7b853c 100644 |
--- a/chrome/browser/search_engines/template_url_service_test_util.cc |
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc |
@@ -50,7 +50,8 @@ void SetManagedDefaultSearchPreferences(const TemplateURLData& managed_data, |
dict->SetBoolean(DefaultSearchManager::kDisabledByPolicy, !enabled); |
profile->GetTestingPrefService()->SetManagedPref( |
- DefaultSearchManager::kDefaultSearchProviderDataPrefName, dict.release()); |
+ DefaultSearchManager::kDefaultSearchProviderDataPrefName, |
+ std::move(dict)); |
} |
void RemoveManagedDefaultSearchPreferences(TestingProfile* profile) { |