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

Unified Diff: chrome/browser/ui/tabs/pinned_tab_service_unittest.cc

Issue 2251263003: 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: chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
diff --git a/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc b/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
index 31c44e8095d25364cf1fcb139ce89ee4563e660b..7ba1521f8b9d0f806ae9d11f7fd8d90efc6fdd53 100644
--- a/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
+++ b/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
@@ -24,7 +24,7 @@ namespace {
std::unique_ptr<KeyedService> BuildPinnedTabService(
content::BrowserContext* profile) {
- return base::WrapUnique(new PinnedTabService(static_cast<Profile*>(profile)));
+ return base::MakeUnique<PinnedTabService>(static_cast<Profile*>(profile));
}
PinnedTabService* BuildForProfile(Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698