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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.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
Index: chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
index a3cdc4ef77c529c9d65e107d85ad3835e49c10e8..483b500a0aa780c4306144267aba242e9fe91154 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
@@ -131,7 +131,7 @@ TEST_F(PlatformAppsManifestTest, CertainApisRequirePlatformApps) {
permissions->AppendString(api_name);
manifest->Set("permissions", permissions);
manifests.push_back(
- base::WrapUnique(new ManifestData(manifest->CreateDeepCopy(), "")));
+ base::MakeUnique<ManifestData>(manifest->CreateDeepCopy(), ""));
}
// First try to load without any flags. This should warn for every API.
for (const std::unique_ptr<ManifestData>& manifest : manifests) {
« no previous file with comments | « chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc ('k') | chrome/installer/util/beacons.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698