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

Unified Diff: chrome/browser/extensions/update_install_gate_unittest.cc

Issue 2257113002: 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/extensions/update_install_gate_unittest.cc
diff --git a/chrome/browser/extensions/update_install_gate_unittest.cc b/chrome/browser/extensions/update_install_gate_unittest.cc
index a42ee1651297d35c80930f3b50f016cff7844b87..0adc1fb67125471b846bd4e73afd18dd66ba7125 100644
--- a/chrome/browser/extensions/update_install_gate_unittest.cc
+++ b/chrome/browser/extensions/update_install_gate_unittest.cc
@@ -43,7 +43,7 @@ const char kNonPersistentExtensionId[] = "cccccccccccccccccccccccccccccccc";
std::unique_ptr<KeyedService> BuildEventRouter(
content::BrowserContext* profile) {
- return base::WrapUnique(new extensions::EventRouter(profile, nullptr));
+ return base::MakeUnique<extensions::EventRouter>(profile, nullptr);
}
scoped_refptr<Extension> CreateApp(const std::string& extension_id,
« no previous file with comments | « chrome/browser/extensions/permissions_updater_unittest.cc ('k') | chrome/browser/extensions/webstore_install_with_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698