Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12406)

Unified Diff: components/signin/core/browser/test_signin_client.cc

Issue 2257793002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/signin/core/browser/test_signin_client.cc
diff --git a/components/signin/core/browser/test_signin_client.cc b/components/signin/core/browser/test_signin_client.cc
index cef73eb243511ef7373f1a37b76e65b2cb55df8c..6595c36e5f3dbe51362620d17f17c2024d653969 100644
--- a/components/signin/core/browser/test_signin_client.cc
+++ b/components/signin/core/browser/test_signin_client.cc
@@ -58,7 +58,7 @@ void TestSigninClient::LoadTokenDatabase() {
scoped_refptr<WebDatabaseService> web_database =
new WebDatabaseService(path, base::ThreadTaskRunnerHandle::Get(),
base::ThreadTaskRunnerHandle::Get());
- web_database->AddTable(base::WrapUnique(new TokenServiceTable()));
+ web_database->AddTable(base::MakeUnique<TokenServiceTable>());
web_database->LoadDatabase();
database_ =
new TokenWebData(web_database, base::ThreadTaskRunnerHandle::Get(),
« no previous file with comments | « components/search_provider_logos/logo_cache.cc ('k') | components/signin/core/browser/webdata/token_web_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698