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

Unified Diff: chrome/utility/importer/edge_database_reader_win.cc

Issue 2341693002: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Change std::string() back to "" to fix compile 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
« no previous file with comments | « chrome/test/chromedriver/net/url_request_context_getter.cc ('k') | chrome/utility/safe_browsing/mac/hfs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/importer/edge_database_reader_win.cc
diff --git a/chrome/utility/importer/edge_database_reader_win.cc b/chrome/utility/importer/edge_database_reader_win.cc
index dd5d45515a00ac8d54121e69e2fd73187da5dab2..6a17c4630b68260af8b6d19605298c83c8d26816 100644
--- a/chrome/utility/importer/edge_database_reader_win.cc
+++ b/chrome/utility/importer/edge_database_reader_win.cc
@@ -256,6 +256,6 @@ EdgeDatabaseReader::OpenTableEnumerator(const base::string16& table_name) {
nullptr, 0, JET_bitTableReadOnly, &table_id)))
return nullptr;
- return base::WrapUnique(
- new EdgeDatabaseTableEnumerator(table_name, session_id_, table_id));
+ return base::MakeUnique<EdgeDatabaseTableEnumerator>(table_name, session_id_,
+ table_id);
}
« no previous file with comments | « chrome/test/chromedriver/net/url_request_context_getter.cc ('k') | chrome/utility/safe_browsing/mac/hfs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698