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

Unified Diff: chrome/browser/sync/sync_error_notifier_ash_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_error_notifier_ash_unittest.cc
diff --git a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
index 3621a5a3c39b3cf7ff836b898a56a17956ca93ac..ebb9a9958f927b8d38f4118a3df98dcd18e965a0 100644
--- a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
+++ b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
@@ -78,7 +78,7 @@ class FakeLoginUI : public LoginUIService::LoginUI {
std::unique_ptr<KeyedService> BuildMockLoginUIService(
content::BrowserContext* profile) {
- return base::WrapUnique(new FakeLoginUIService());
+ return base::MakeUnique<FakeLoginUIService>();
}
class SyncErrorNotifierTest : public AshTestBase {

Powered by Google App Engine
This is Rietveld 408576698