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

Unified Diff: chrome/browser/sync/sync_global_error_unittest.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Created 4 years, 3 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: chrome/browser/sync/sync_global_error_unittest.cc
diff --git a/chrome/browser/sync/sync_global_error_unittest.cc b/chrome/browser/sync/sync_global_error_unittest.cc
index ed7eae8197de1687ab411ab1b726c1de33352ad1..bdb0da4fc14c64822e1dc53ad7ea4821e10b1536 100644
--- a/chrome/browser/sync/sync_global_error_unittest.cc
+++ b/chrome/browser/sync/sync_global_error_unittest.cc
@@ -53,7 +53,7 @@ class FakeLoginUI : public LoginUIService::LoginUI {
std::unique_ptr<KeyedService> BuildMockLoginUIService(
content::BrowserContext* profile) {
- return base::WrapUnique(new FakeLoginUIService());
+ return base::MakeUnique<FakeLoginUIService>();
}
// Same as BrowserWithTestWindowTest, but uses MockBrowser to test calls to

Powered by Google App Engine
This is Rietveld 408576698