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

Unified Diff: components/history/core/test/history_client_fake_bookmarks.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/history/core/test/history_client_fake_bookmarks.cc
diff --git a/components/history/core/test/history_client_fake_bookmarks.cc b/components/history/core/test/history_client_fake_bookmarks.cc
index e14ee32cd7a9c2440c7fe3207926239d7588c4ca..67596503b78064aef6ce244ad4e00f0b8f030ed9 100644
--- a/components/history/core/test/history_client_fake_bookmarks.cc
+++ b/components/history/core/test/history_client_fake_bookmarks.cc
@@ -184,7 +184,7 @@ void HistoryClientFakeBookmarks::NotifyProfileError(
std::unique_ptr<HistoryBackendClient>
HistoryClientFakeBookmarks::CreateBackendClient() {
- return base::WrapUnique(new HistoryBackendClientFakeBookmarks(bookmarks_));
+ return base::MakeUnique<HistoryBackendClientFakeBookmarks>(bookmarks_);
}
} // namespace history
« no previous file with comments | « components/history/core/browser/visitsegment_database.cc ('k') | components/history/core/test/history_service_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698