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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc

Issue 2259523003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
index b7ed19734b571c10c2511e2a4e6b3639e70e2d53..7f0a1c4b6049b24a0a82cccbde9bdc64307bba34 100644
--- a/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
@@ -159,7 +159,7 @@ class ExtensionDataCollectionTest : public testing::Test {
std::string(), // supervised_user_id
TestingProfile::TestingFactories());
- return base::WrapUnique(new ExtensionTestingProfile(profile));
+ return base::MakeUnique<ExtensionTestingProfile>(profile);
}
content::TestBrowserThreadBundle browser_thread_bundle_;

Powered by Google App Engine
This is Rietveld 408576698