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

Unified Diff: chrome/browser/history/chrome_history_client.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Changes from review by sky 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/history/chrome_history_client.cc
diff --git a/chrome/browser/history/chrome_history_client.cc b/chrome/browser/history/chrome_history_client.cc
index 082ed1b3bc9796a87eeccbc37b41048c03923650..25d3725b267893278b65a0ee7715af1addae5df9 100644
--- a/chrome/browser/history/chrome_history_client.cc
+++ b/chrome/browser/history/chrome_history_client.cc
@@ -70,7 +70,7 @@ void ChromeHistoryClient::NotifyProfileError(sql::InitStatus init_status,
std::unique_ptr<history::HistoryBackendClient>
ChromeHistoryClient::CreateBackendClient() {
- return base::WrapUnique(new ChromeHistoryBackendClient(bookmark_model_));
+ return base::MakeUnique<ChromeHistoryBackendClient>(bookmark_model_);
}
void ChromeHistoryClient::BookmarkModelChanged() {

Powered by Google App Engine
This is Rietveld 408576698